Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: uninitialized weirdness

by vaevictus (Pilgrim)
on Nov 17, 2000 at 01:04 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-08-01 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (10 votes). Check out past polls.

    Notices?