Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Thanks to you & kevbot for posting about YAPE::Regex::Explain. That was what I wanted to do too before posting my explanation.

I did not have the module installed, so I tried installing via cpan first on "Ubuntu on Windows". The response to characters typed was too slow. After getting permission problem, went to find the right knobs to tweak for cpan shell to install things in my own directory. Due to continued slow response I went to FreeBSD under virtual machine already running.

Tweaked the knobs again ...

# My<something>.pm under cpan directory; default is "$HOME/.cpan". makepl_arg => 'PREFIX=/dir', mbuild_arg => '--install_base /dir'

... When the message came up that installation failed due to YAPE::Regex not being installed, I just wrote the explanation myself as this turned out to be too much work consuming too much time in order to avoid the work.

I went back to cpan on FreeBSD, installed Y::R (which ought to have been installed as a dependency); then install of Y::R::E went on its merry way.

In order to use the Y::R::E module installed in my own directory with system perl, I needed to set $PREL5LIB obviously. But ...

export PERL5LIB="/dir/lib/perl5"

... was not enough. I had to add 2 more sub-directories ...

export PERL5LIB="/dir/lib/perl5:/dir/lib/perl5/site_perl:/dir/lib/perl +5/site_perl/mach"

... why could perl not find the last two directory paths by itself in year 2018? (Yes, I am aware the virtues of installing, compiling my own perl. And I love that; had built multiple times on FreeBSD & CentOS.)


In reply to Re^4: Pattern matching by parv
in thread Pattern matching by nursyza

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 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?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-20 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found