Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: ($_) use warnings and uninitialized variables

by mt2k (Hermit)
on Nov 22, 2002 at 23:08 UTC ( #215285=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        #!/usr/bin/perl
        # The 'bad' version - produces warnings
    ...
        print 'My name is ' . $name;
    
  2. or download this
        #!/usr/bin/perl
        # The 'good' version - produces no warnings
    ...
        print 'My name is ' . $name;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2022-12-05 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?