Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: OO Perl Baby Steps

by choroba (Abbot)
on Jun 12, 2013 at 15:45 UTC ( #1038507=note: print w/ replies, xml ) Need Help??


in reply to OO Perl Baby Steps

package somename {
is a recent addition (introduced in 5.14) and is equivalent to
{ package somename;

Moreover,

package somename; {
is different if there is some code after the closing } - it still belongs to the package.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: OO Perl Baby Steps
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (14)
As of 2014-07-11 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (235 votes), past polls