Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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;

Replies are listed 'Best First'.
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.


      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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-10-22 02:16 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.