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.
In reply to Re^4: System command using array and pipe
by ikegami
in thread System command using array and pipe
by civil777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |