For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2008 > How can I open a file with "/"?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can I open a file with "/"?
Rc

2008-01-31, 10:11 pm

I have to create a file with / in the name. I have tried different
techniques but keep getting errors.

My file name also has & in it.

open(MYFILE, ">>", "&lost/.com")
or die "2. Can't open MYFILE for writing: $!.
Stopped";

Thank you for the help.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com