Do you know where your variables are? | |
PerlMonks |
Re: Re: Question on using format and writeby vagnerr (Prior) |
on Dec 13, 2002 at 20:21 UTC ( [id://219740]=note: print w/replies, xml ) | Need Help?? |
Foxcub is correct. It looks like it is a scope problem. If you were to enforce warnings ( perl -w ) then you would get an error allong the lines of
if you remove your line from the function, or perhaps put it before you define your format that should give you your output :-) _______________________________________________________ Remember that amateurs built Noah's Ark. Professionals built the Titanic.
In Section
Seekers of Perl Wisdom
|
|