Re: Perl problems

From: Andreas Schiffler <andreas_at_no.spam.please>
Date: Fri Mar 01 1996 - 09:43:46 CST

Hi Keith,

> open ( FILENAME, "> filename" )
> ---
>
> function it doesn't work! I have a pretty good book on Perl that doesn't
> say anything special about using ">" (or ">>") for that matter. Any ideas?

The above filename looks like a shell-redirection ... maybe its not allowed
for filenames (I doubt it) but probably has to be excaped.

Try something like
             open ( FILENAME, "\> filename" )

or better ... avoid these kind of names .. i.e. if you want to remove it on
the shell with 'rm "> filename"' I'd say you run into problems.

I'm not to familiar with perl so can't help out more ... maybe post in
sk.comp.

Andreas
Received on Fri Mar 1 09:43:46 1996

This archive was generated by hypermail 2.1.8 : Sun Jan 09 2005 - 13:53:45 CST