[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] What's error "chunk 7072"?



Xah Lee <xah@best.com> writes:
>Three beginner's easy questions:
>
>Question 1:
>Can anyone tell me what the following warning means?
>
># Use of uninitialized value, <WEBLOG> chunk 7072.
>                               ^^^^^^^^^^^^^^^^^^

This is perl's way of giving a position within a data file. A "chunk" is a
portion of input read; if $/ eq "\n", a "chunk" is a line.

>Can anyone tell me the location of on-line doc that explains the
>
>#!perl
>
>line? I knew roughly what it is and what it does, but would like to read about
 it. (I did grep the pod, but didn't find explainations)

It tells MacPerl where the perl code starts. If such a line exists in the file,
all lines before it are discarded. If no such line exists, the input file is
actually read twice.

Also, you can put flags like -w on that line.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch