Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: About a piece of code

by Anonymous Monk
on Aug 05, 2009 at 12:00 UTC ( [id://786073]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    while(<DATA>){
        /^\s+$/ and next;
    ...
    Elaine
    
    George
    
  2. or download this
    $ perl -d:Trace nosoup.pl
    >> nosoup.pl:2: while(<DATA>){
    ...
    No soup for you!
    >> nosoup.pl:7:     print "What soup you want? $_";
    What soup you want? George
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (None)
    As of 2024-04-25 00:55 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found