Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Perl Script only runs with -w switch

by BrowserUk (Patriarch)
on Nov 21, 2002 at 18:59 UTC ( #214871=note: print w/replies, xml ) Need Help??


in reply to Perl Script only runs with -w switch

It could be that . on line 63!


Okay you lot, get your wings on the left, halos on the right. It's one size fits all, and "No!", you can't have a different color.
Pick up your cloud down the end and "Yes" if you get allocated a grey one they are a bit damp under foot, but someone has to get them.
Get used to the wings fast cos its an 8 hour day...unless the Govenor calls for a cyclone or hurricane, in which case 16 hour shifts are mandatory.
Just be grateful that you arrived just as the tornado season finished. Them buggers are real work.

  • Comment on Re: Perl Script only runs with -w switch

Replies are listed 'Best First'.
Re: Re: Perl Script only runs with -w switch
by broquaint (Abbot) on Nov 21, 2002 at 19:03 UTC
    I'm of the opinion that it's the following line
    ## mess with anyone who ports this script die("mwahahaha!") if $^O eq 'linux' and !$^W;

    _________
    broquaint

Re: Re: Perl Script only runs with -w switch
by hydo (Monk) on Nov 21, 2002 at 19:23 UTC
    Look again. The problem clearly lies on that one line where it does that stuff... you know... with the underscore and the dollar sign? Yea, right in that general area.

    *edit*
    1. If it only runs with the -w switch, isn't that better?! I think that's how all perl code should be. I'd even go so far as to say Acme::Code::Police should be a required module.
    2. You might want to post the code or at least post a link to it or something. If the script is really really long, you might consider using nopaste.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://214871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2023-11-29 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?