Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Can't call sub within same package in BEGIN block

by exilepanda (Pilgrim)
on Aug 14, 2014 at 23:26 UTC ( #1097498=note: print w/replies, xml ) Need Help??


in reply to Re^3: Can't call sub within same package in BEGIN block
in thread Can't call sub within same package in BEGIN block

yeah.. I got it now.. use subs "_init" only declared the sub name, but _init() would only work when it's defined.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2020-02-25 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (108 votes). Check out past polls.

    Notices?