Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: format declaration in a class

by Stevie-O (Friar)
on May 25, 2004 at 03:03 UTC ( #356105=note: print w/replies, xml ) Need Help??


in reply to format declaration in a class

Your problem is that my does NOT make global variables, it makes local ones. broquaint above has described very well what to do -- use 'our' and 'local' together to achieve your goals.
--Stevie-O
$"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://356105]
help
Chatterbox?
and the fire pops...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-11-17 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (276 votes). Check out past polls.

    Notices?