Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: perl -s is evil?

by pileswasp (Monk)
on Nov 22, 2001 at 00:10 UTC ( #126843=note: print w/replies, xml ) Need Help??


in reply to perl -s is evil?

Curiously enough, if you try and use it all (in an == for instance, it reverts back, so it's not as scary as it looks, just a bit buggy:
#! /usr/bin/perl use strict; print "\$> = ", $>, "\n"; $> == 1000 and warn "eq"; print "\$> = ", $>, "\n";

perl -Tws evil.pl -\>=0 ouputs:
$> = 0 eq at evil.pl line 5. $> = 1000

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://126843]
help
Chatterbox?
[talexb]: Hmm. Trying to figure out how to trigger the author tests. This talks about .author in ./inc, but that doesn't seem to do the trick.
LanX sigh ... pitty I'm not a girl ... missing out on so many things

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2017-10-23 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?