[sf-perl] perl on a mac
yary
not.com at gmail.com
Sat Nov 22 14:13:46 PST 2008
On Sat, Nov 22, 2008 at 11:18 AM, Walt Sanders
<wsanders at pacificwebdesign.org> wrote:
>
> Dan, in looking back over your suggestions, I found this to work in Terminal:
>
> perl idpass.cgi > output.html | open output.html This brings the output up in Firefox successfully.
Try this, to save yourself some typing
$ phrun() {
perl $1 > temporary.html | open temporary.html
}
$ phrun idpass.cgi
if you like it, you can put the phrun() definition into your .profile,
and you'll have it every time you run terminal.
there's nothing special about the name phrun (perl html run?), call it
whatever you like
More information about the SanFrancisco-pm
mailing list