Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: OO Perl Baby Steps

by choroba (Bishop)
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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2017-12-16 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (458 votes). Check out past polls.

    Notices?