Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Perl: Extracting the value from --rsync-path=PROGRAM key/value pair

by nysus (Vicar)
on Jun 30, 2020 at 19:26 UTC ( #11118734=note: print w/replies, xml ) Need Help??


in reply to Re: Perl: Extracting the value from --rsync-path=PROGRAM key/value pair
in thread Perl: Extracting the value from --rsync-path=PROGRAM key/value pair

Awesome, thanks. I was wondering if Getopt could be useful in this situation. I would have had no idea about those options you used, though. Very nice.

$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

  • Comment on Re^2: Perl: Extracting the value from --rsync-path=PROGRAM key/value pair

Replies are listed 'Best First'.
Re^3: Perl: Extracting the value from --rsync-path=PROGRAM key/value pair
by AnomalousMonk (Bishop) on Jun 30, 2020 at 21:48 UTC
    I would have had no idea about those options ...

    I think it's called Reading The Fine Manual. :)


    Give a man a fish:  <%-{-{-{-<

      ..and what a Fine manual it is.
Re^3: Perl: Extracting the value from --rsync-path=PROGRAM key/value pair
by perlfan (Priest) on Jul 02, 2020 at 05:36 UTC
    Not a bad thought, but it adds maintenance overhead to your script. This may present portability issues if rsync has different options somewhere - or more likely, a newer version of rsync adds or deprecates an option.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2020-08-09 11:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (54 votes). Check out past polls.

    Notices?