Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to split main package over multiple files (main is for programs)

by Anonymous Monk
on Jun 23, 2016 at 00:30 UTC ( [id://1166339]=note: print w/replies, xml ) Need Help??


in reply to How to split main package into multiple files

You don't split "main::", you pick a different name, "main::" is for stand alone programs not for modules

See zentara package/module tutorial and chapter 3 in Modern Perl

Replies are listed 'Best First'.
Re^2: How to split main package over multiple files (main is for programs)
by stevieb (Canon) on Jun 23, 2016 at 01:05 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-03-28 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found