Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

No, I meant to have everything in one line. That way, setting of PERL5LIB is valid for this particular invocation of perl only and does not clobber the current value of PERL5LIB (if any) for the rest of your shell session (if exported).

$: TEST=this #-- your shell might need to 'export' explicitly $: echo $TEST this $: TEST=that eval 'echo $TEST' that $: echo $TEST this

Setting PERL5LIB the way you did, would keep the setting for the rest of your shell session. You might consider to set it in your shells configuration (.bashrc, .profile, etc.) if required.

I am not sure, if I understood your last question.

I think it will still take the one already installed and not the one I cloned.
No, with path-to-your-local-directory, I meant the .../lib directory of your cloned installation. When in doubt try
PERL5LIB=<as-needed> perl -MDevel::Cover=-coverage,none -e 'print "$D +evel::Cover::VERSION <--- HERE!\n"'
and see if the VERSION is as expected (Devel::Cover might print that anyways in its header message).


In reply to Re^3: How to use the local Devel::Cover module? by Perlbotics
in thread How to use the local Devel::Cover module? by ovedpo15

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-08-13 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?