http://www.perlmonks.org?node_id=11128264


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