Most of the time I just use an even simpler shell script and redirect to whatever I feel needs the code. So `pmget 153861 | perl` would download the code from your node and just run it.
#!/bin/sh lynx -source "http://www.perlmonks.org/index.pl?displaytype=displaycod +e&node=$1"
Updated to add the displaytype=displaycode. I was typing it from memory and forgot that part. Oops!
In reply to Re: Run and/or download code directly from perlmonk nodes.
by diotalevi
in thread Run and/or download code directly from perlmonk nodes.
by Dog and Pony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |