[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] setting in MacPerl IDE to redirect output?




Here's the thought...I have a set of scripts that write to standard
output.  Is there a way in the MacPerl IDE to set stdout to go to (save
dialog) a file?  

Of course I could make changes to each script; for this problem, that's a
bad answer.

I could wrap the files with a script to set ARGV, stdios, and so on; I'm
looking at Arved Sandstrom's xsubpp_app wrapper, which does this (thanks
Arved!). That's the solution I will use for now.

But wouldn't this be a useful addition to the interface for the mythical
next MacPerl IDE?  All the MPW-ers could care less, of course, because
this is a non-issue with a command-line.

Another addition (I would call it a bug-fix) is supporting magic-cookie
command-line switches like -w and -T and -d in addition to the menu items.
Supporting the #!/perl switches allows turning these things on and off per
script much more flexibly.  

--
MattLangford 



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org