Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: determine the variable causing the error: Use of uninitialized value

by marinersk (Priest)
on Apr 14, 2017 at 03:44 UTC ( [id://1187906]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    exit;
    
    __END__
    
  2. or download this
    U:\>uninit01.pl
    perl version: 5.018002
    Use of uninitialized value $x in print at U:\uninit01.pl line 10.
    Use of uninitialized value in print at U:\uninit01.pl line 10.
    Use of uninitialized value $x in printf at U:\uninit01.pl line 11.
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    exit;
    
    __END__
    
  4. or download this
    U:\>uninit02.pl
    perl version: 5.018002
    ...
    Use of uninitialized value in print at U:\uninit02.pl line 12.
    No error found.
    Use of uninitialized value $x in printf at U:\uninit02.pl line 29.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found