I didn't know much about scripting with Perl until pretty recently. I knew how to throw a Perl script into ~/bin to create commands and that was about the extent of my knowledge.
Over the past year or so, I have become much more familiar with creating, installing and running command-line scripts with Perl. But I still don't have much experience to know which method I should settle on. When is it appropriate to just throw something in ~/bin? When should I prefer a modulino? When should I create a module for my command? Do I ever need to create a module if I'm just going to use the command myself? If I do create a module, which approach should I use? App:Cmd? How about MooseX::App::Cmd? What other cool approaches are there to create new command line initiated scripts? And generally speaking, what are the best, most efficient practices for creating a cool library of perl commands to help you get work done faster? I'd be very interested in hearing what others are doing in this area. Thanks!
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to TIMTOWTDI but how do you use Perl to create CLI scripts? by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |