Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: pl – Perl One-Liner Magic Wand: looking for feedback

by Arunbear (Prior)
on Jun 16, 2022 at 10:52 UTC ( [id://11144795]=note: print w/replies, xml ) Need Help??


in reply to Re^3: pl – Perl One-Liner Magic Wand: looking for feedback
in thread pl – Perl One-Liner Magic Wand: looking for feedback

Have you tested what happens when installing it with cpanm (or just cpan)? It's still not installing anything (I'm using a Mac).

Replies are listed 'Best First'.
Re^5: pl – Perl One-Liner Magic Wand: looking for feedback
by Daniel Pfeiffer (Acolyte) on Jun 17, 2022 at 22:30 UTC

    I'm sorry, I don't know how I can help you. I just installed cpanm 1.7044 as a Devuan package (Debian derived Linux) and it installs pl fine with -l /some/dir. (It does create various useless x86_64-linux-gnu-thread-multi subdirs, but that may be their problem and only cosmetic.) I can however confirm that reinstalling does overwrite the script – annoying but again not the end of the world.

    Maybe you can find a similarly minimal package as pl is, for you and me to compare? Cpanm is quite the opposite, having so many dependencies.

    Or you could open an issue against cpanm, saying that it works on Linux, but not Mac. If you add the output you get from cpanm -v App::pl, they'll probably know right away what's wrong. Or they might have access to a Mac, to find out…

      Thank you. This did in fact install with cpanm after your update, I thought it hadn't worked because repeating the install command re-installed it. A similar package to compare with might be Ack.

      In other news, there is already an installed program called pl:

      $ man pl NAME pl – ASCII property list utility SYNOPSIS pl [--input file] [--output file] DESCRIPTION pl can be used to check the syntax of old-style ASCII property li +st files. ...
      I'm not sure what the best practice is for dealing with name clashes like this. Perhaps giving it a non-clashing name and leaving it up to the user to make a shorter alias ...
Re^5: pl – Perl One-Liner Magic Wand: looking for feedback
by Anonymous Monk on Jun 16, 2022 at 13:23 UTC
    cpan on linux now works fine. Will have to check why cpanm does something different.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found