Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: uninitialized weirdness

by vaevictus (Pilgrim)
on Nov 17, 2000 at 01:04 UTC ( [id://42078]=note: print w/replies, xml ) Need Help??


in reply to uninitialized weirdness

The following code demonstrates and summarized my problem...
Thanks everyone... :)
(Mark_Dominus coded this) ->
#!/usr/bin/perl -w $def = ''; undef $notdef; if($def eq 'foo') { # Line 4 } elsif ($def eq 'bar') { } elsif ($notdef eq "RHS") { # Line 7 }
The error reports a problem with line4, not line 7, where the error is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-18 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found