Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Perl includes to reuse code.

by Athanasius (Archbishop)
on May 30, 2016 at 07:38 UTC ( [id://1164486]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl includes to reuse code.
in thread Perl includes to reuse code.

No, in my test scripts, Utils.pm begins as follows:

package Utils; use system_mod_includes;

But note that there is no package directive in system_mod_includes.pm. If I add one, I get an error like the one you originally reported:

Undefined subroutine &Utils::Dumper...

I assume this is a namespace problem.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found