Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Error Unitialized value and useby kcott (Archbishop) |
on Dec 08, 2015 at 06:15 UTC ( [id://1149644]=note: print w/replies, xml ) | Need Help?? |
G'day tryingnottofailmytes, Well, you do initialize them near the beginning of your script:
Their next appearance in your script is:
where, presumably, you're setting both to undef (i.e. uninitialized). When you then use them in the print statement on the following line:
you get a warning about this. For the other part of your question, see the use documentation. — Ken
In Section
Seekers of Perl Wisdom
|
|