open FH,">","notepad" or die $!;  # create a new file
open FH,">>","notepad" or die $!; # append to a file,if not
exists,then create one

see "perldoc -f open".

2007/4/27, Somu <[EMAIL PROTECTED]>:
I'm not certain about what EXPR is.. How do i use glob?

 My next question is regarding opening pipes. I tried the following:
 open ( FH , " notepad " );
 print FH 'hello' ;

 But its only opening the notepad application, and nothing shows up on
the notepad..

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/





--
Chinese Practical Mod_perl book online
http://home.arcor.de/jeffpang/mod_perl/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to