in reply to Re^3: System command using array and pipe
in thread System command using array and pipe
Store the shell literal in the config.
my $password = '...'; # Not the password, but a shell literal of the +password. system( ... "-p$password" ... );
Pretend the config is a shell literal.
my $password = '...'; system( ... "-p$password" ... ); # Pretend $password is a shell liter +al.
Embed the config data in the command
system( ... "-p..." ... );
Every one of these are very unappealing to me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: System command using array and pipe
by philipbailey (Curate) on Jun 06, 2011 at 20:08 UTC | |
by ikegami (Patriarch) on Jun 06, 2011 at 20:17 UTC |