I want to download an executable and execute it in one step, while providing arguments to the executable.
I managed to figure out to download+execute by using a pipe:
wget -O - http://xrl.us/cpanm | perl
This executes the
cpanm executable via
Now I want to add an argument, say
wget -O - http://xrl.us/cpanm | perl A
This no longer works. I am now getting
Cannot write to ‘-’ (Success)..
How can this be done?