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

Re: Looking For The Obvious - Debugging Perl

by slife (Scribe)
on Jun 22, 2004 at 08:15 UTC ( #368640=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Bad code. Don't copy
    while(<>) {
    ...
        my($val)=$1;
        # do something with $val.
    }
    
  2. or download this
    while(<>) {
        my($val);
    ...
    
        # Do something with $val.
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-07-23 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (133 votes), past polls