Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: using strict

by chip (Curate)
on Mar 22, 2004 at 20:57 UTC ( #338766=note: print w/replies, xml ) Need Help??


in reply to using strict

Those my declarations are only effective to the end of the enclosing block .. i.e. the one if/else clause in which each one appears.

Moving them up to the top of the while block should suffice.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338766]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-07-23 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (472 votes). Check out past polls.

    Notices?