Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: newbie question: can't use my own lib in crob job

by The Mad Hatter (Priest)
on Mar 30, 2004 at 01:48 UTC ( #340817=note: print w/ replies, xml ) Need Help??


in reply to newbie question: can't use my own lib in crob job

How about just

use lib '/full/path/to/perllib'; use My:Ownmodule;


Comment on Re: newbie question: can't use my own lib in crob job
Download Code
Re: Re: newbie question: can't use my own lib in crob job
by iwanthome (Beadle) on Mar 30, 2004 at 02:26 UTC

    I don't know the exactly full path of the lib because I can't force other user install the lib to the desired path.

    thanks!

      Are you concerned about making this easy to install for other users? While that's a good thing, I think you're seriously overthinking things. If users have to set up a cron job to make this work, they'll have to edit code anyway. Just tell them to install the module via the normal mechanism or add a use lib line to their code.

      (As a side note, prepending "newbie" to your post subjects is useless; it adds no information of value.)

        thanks for your advice.I add "newbie" to my post subjects because I think my question is very stupid.I will remove this later.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-08-28 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls