Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Any reason to use the Paws module over aws cli commands in perl script?

by choroba (Archbishop)
on Oct 21, 2020 at 13:47 UTC ( #11123037=note: print w/replies, xml ) Need Help??


in reply to Any reason to use the Paws module over aws cli commands in perl script?

Once you need to read values from config files or user input, you'll also need to properly quote them for the command line, as they can contain characters as [{};<> ] etc. That's what a module saves you from.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Any reason to use the Paws module over aws cli commands in perl script?
by tobyink (Canon) on Oct 21, 2020 at 15:44 UTC

    Quoting is less of an issue if you use system(LIST).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-11-26 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?