Professional Web Applications Themes

chomp (filecontents = <HANDLE>); slows down - PERL Miscellaneous

On Mon, 23 Jun 2003 18:49:30 GMT, Mike Flannigan <mikeflanearthlink.net> wrote: > >Helgi Briem wrote: > >> Go to your Start Menu. On most Windows machines that >> will be in the bottom left hand corner. Somewhere in your >> menu structure is a 'Command Prompt' item. Either use that >> or, Open the 'Run' menu, type in 'cmd' and Enter. >> >> You should get a black window box with a command prompt >> in it that looks something like: >> >> C:\> >> >> Type a command there. To test perl, type something like: >> >> C:\>perl -e ...

  1. #1

    Default Re: chomp (filecontents = <HANDLE>); slows down

    On Mon, 23 Jun 2003 18:49:30 GMT,
    Mike Flannigan <mikeflanearthlink.net> wrote:

    >
    >Helgi Briem wrote:
    >
    >> Go to your Start Menu. On most Windows machines that
    >> will be in the bottom left hand corner. Somewhere in your
    >> menu structure is a 'Command Prompt' item. Either use that
    >> or, Open the 'Run' menu, type in 'cmd' and Enter.
    >>
    >> You should get a black window box with a command prompt
    >> in it that looks something like:
    >>
    >> C:\>
    >>
    >> Type a command there. To test perl, type something like:
    >>
    >> C:\>perl -e "print 'Hello world';"
    >>
    >
    >Thanks. I didn't realize you guys were talking about a simple
    >DOS command window (until yesterday that is). I was going
    >to C:\perl\bin and typing "perl" and trying to use that window.
    >I still suspect that might work, but I've given up on that and I
    >am running in the DOS window now.
    >

    It might work, but it might be slightly disappointing when realising
    that perl doesn't do anything until you invoke the EOF condition from
    the keyboard (that is ctrl-Z or F6 in MS-dos, ctrl-D on unix).



    Villy
    Villy Kruse Guest

  2. #2

    Default Re: chomp (filecontents = <HANDLE>); slows down

    On 23 Jun 2003 19:18:26 GMT, "Tassilo v. Pval"
    <tassilo.pvalrwth-aachen.de> wrote:
    >Also sprach Mike Flannigan:
    >
    >> Another simple question. What do they call all that
    >> /^#\s*line\s+(\d+)\s*(?:\s"([^"]+)")?\s*$/
    >> stuff I see? I want to learn that. I found this section below,
    >> but it doesn't seem to explain their use. Are they called
    >> preprocessors, line directives, or what?
    >
    >No, those are regular expressions. See
    >
    > perldoc perlretut
    > perldoc perlre
    >
    >The first one is a tutorial after which you should know what they are
    >about. The second is the reference that also covers the more esoteric
    >aspects. Finally, the regular expression operators are also mentioned in
    >perlop.pod (accessible via 'perldoc perlop'), under "Regexp Quote-Like
    >Operators".
    For a beginner, it is probably best to start with

    perldoc perlrequick

    a quick start guide to regular expressions.
    The others are a little full-featured and may
    confuse a newbie.
    Helgi Briem Guest

Similar Threads

  1. IN SEARCH OF ELEGANT CODE: Setting a hash value to a chomp'ed thing
    By David Filmer in forum PERL Miscellaneous
    Replies: 9
    Last Post: September 3rd, 09:07 PM
  2. Return value of chomp, with alternate value in $/
    By David Oswald in forum PERL Miscellaneous
    Replies: 6
    Last Post: August 9th, 03:18 AM
  3. Replies: 1
    Last Post: August 6th, 03:58 PM
  4. Chomp temporarily nullifies my scalar variable.
    By Joseph Ellis in forum PERL Miscellaneous
    Replies: 14
    Last Post: July 24th, 11:06 PM
  5. Flash slows down
    By Kingofchrome webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 2
    Last Post: July 16th, 09:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139