Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by choroba (Cardinal)
on Oct 21, 2020 at 13:47 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found