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

myocom's scratchpad

by myocom (Deacon)
on Jun 13, 2004 at 18:49 UTC ( #366312=scratchpad: print w/ replies, xml ) Need Help??

Here, hacker - try this standalone script:
my $beamable = $ARGV[0]; if ($beamable && ($beamable =~ /(1|true|yes)/i)) { $beamable = '--beamable'; $beamable_msg = "Yes, beamable"; print "In clause 1\n"; } elsif ($beamable && ($beamable =~ /(0|false|no)/i)) { $beamable = '--not-beamable'; $beamable_msg = "No, copy-protected"; print "In clause 2\n"; } else { $beamable = ''; $beamable_msg = "Unspecified, defaults to beamable"; print "In clause 3\n"; } print "At the end, beamable is $beamable and the msg is $beamable_msg\ +n";
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-07-27 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.