Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

seanbo's scratchpad

by seanbo (Chaplain)
on Jun 04, 2004 at 18:06 UTC ( #361092=scratchpad: print w/ replies, xml ) Need Help??

#!/usr/bin/perl -w local $\ = "\n"; while (<>) { chomp; $_ && print $_>0 ? "positive $_" : "negative ".($_*-1); }
#Remove those pesky ^M (note the ^V will not be visible) perl -pi -e 's/^V^M//g' <filename>
http://www.perlmonks.org/index.pl?node_id=138068&lastnode_id=137863
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-11-29 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls