Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: OO Perl Baby Steps

by choroba (Canon)
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 browsing the Monastery: (13)
As of 2015-03-05 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (144 votes), past polls