Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Variable and object scoping

by dakkar (Hermit)
on Nov 26, 2002 at 21:30 UTC ( [id://215942]=note: print w/replies, xml ) Need Help??


in reply to Re: Variable and object scoping
in thread Variable and object scoping

Yes, it would be better.

Anyway, Angel's code would work correctly. Angel, just one thing: use foo(), not &foo. Just for style ;-)

-- 
        dakkar - Mobilis in mobile

Replies are listed 'Best First'.
(bbfu) Re3: Variable and object scoping
by bbfu (Curate) on Nov 26, 2002 at 23:59 UTC

    use foo(), not &foo. Just for style ;-)

    And to not bypass prototypes, and to not accidentally use @_ magic, and to be consistent with method calls... :)

    bbfu
    Black flowers blossum
    Fearless on my breath

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://215942]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-20 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found