Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Create 2 different sets of links using command line argument

by davido (Cardinal)
on Feb 11, 2021 at 19:49 UTC ( #11128264=note: print w/replies, xml ) Need Help??


in reply to Create 2 different sets of links using command line argument

Is there a language you already know how to implement this in? Do you have some code already in place? What fails?

The canonical way of dealing with command line options in Perl is Getopt::Std for single character command-line switches, or Getopt::Long for single-char and long switches. Perl's facility for creating symlinks is symlink. If you have to make a path, Path::Tiny is useful.

It's unclear where you're stuck. If the answer is "all of it", you probably have to start with perlintro.


Dave

  • Comment on Re: Create 2 different sets of links using command line argument

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2021-10-26 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?