Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Deparse produces different output for a different user

by runrig (Abbot)
on Oct 06, 2010 at 22:18 UTC ( #863876=note: print w/ replies, xml ) Need Help??


in reply to Deparse produces different output for a different user

getRecord() is not getting imported into webSubs.pm.

webSubs.pm might need a 'use lib' statement or you might want to set PERL5LIB in the environment that doesn't work. The difference is probably either the PERL5LIB or PERLLIB variable(s) (see perlrun), or the directory that the program is run from (if the libraries(s) are in the same directory that the program is run from in the environment that works...the current directory is automatically included in the list of library directories).


Comment on Re: Deparse produces different output for a different user
Re^2: Deparse produces different output for a different user
by jameshow (Initiate) on Oct 07, 2010 at 14:39 UTC

    Thanks, runrig.

    use lib is set in webSubs for the location that contains webDB and I'm running the Deparse for both users from the same place, which contains both webDB and webSubs.

    I also added that location to PERL5LIB and still have the problem with the one user. The @INC is the same for both users, and includes the location of both webSubs and webDB.

    So the missing require Exporter; from the Deparse output of the user that doesn't work shouldn't be a concern? Does bad environment or another problem cause that line to go missing?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-07-25 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (174 votes), past polls