Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Calling subroutine from other module

by misc (Pilgrim)
on Jul 12, 2007 at 11:24 UTC ( #626201=note: print w/ replies, xml ) Need Help??


in reply to Calling subroutine from other module

I'd say it depends on what exactly you want to do.
If you have an object oriented approach, it would be POSSIBLY the best to inherit vlog from blib, therefore you had to insert the code below into vlog.pm.(perltoot)

BEGIN { @ISA = qw/blib/; }

If you haven't got an object oriented approach, just use blib in gen.pl.
hth.


Comment on Re: Calling subroutine from other module
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2014-09-23 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (234 votes), past polls