Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Unexpected warnings in log file.

by sauoq (Abbot)
on Aug 09, 2002 at 16:38 UTC ( [id://189035]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Unexpected warnings in log file.

#!/bin/perl -wT
Take out that pesky w on your shebang line. . .

:-)

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: Unexpected warnings in log file.
by TexasTess (Beadle) on Aug 09, 2002 at 17:23 UTC
    Can't be the -w after the shebang, the system log would not change the case of the character..and it specifically references a "W" not a "w".

    This is a long shot..but are you writing this code in a windows environment then moving it to a *unix server? The following line might be your culprit because of the carriage return after the "return"...
    return $WebPage->popup_menu ( -values =>
    Try it this way:
    return $WebPage->popup_menu ( -values =>
    There are instances where carriage returns are translated into "." thus the concatonation reference in the warning...I'd like it if you tried taking it out just to humor me...

    TexasTess
    "Great Spirits Often Encounter Violent Opposition From Mediocre Minds" --Albert Einstein
      No. I am writing it on a Linux server. I use Kate as my editor. I was also given to understand that perl doesn't care about whitespace in this type of instance.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://189035]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.