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

Re: [MacPerl] Second question of the day :-)



At 11.41 1/7/98, Mark Manning/Muniz Eng. wrote:
>I turned on the -w flag to try to figure out why that FTP
>problem was occuring.  I got something else which I was
>wondering about.  :-)
>
>The statement is:
>
>        $theReply = <<END_HTML;
>blah blah blah....
>END_HTML
>
>Why does the "$theReply = <<END_HTML;" generate the following:
>
>Use of uninitialized value at /disk4/igoal/Scripts/mldb/checkOut4.cgi line 211.
>
>??????
>
>It is an assignment operator which is being used.  So
>shouldn't MacPerl/Perl recognize this and not place a
>warning about it in the log file?  Just wondering. :-)

You are using an unitialized variable inside the here-doc, somewhere
between <<END_HTML and END_HTML.

--
Chris Nandor               pudge@pobox.com           http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==                    MacPerl: Power and Ease                     ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



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