Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: OO Perl Baby Steps

by choroba (Chancellor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2016-08-30 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (424 votes). Check out past polls.