Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2017-08-20 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (313 votes). Check out past polls.

    Notices?