Re: print string in file

2010-08-18 Thread Irfan Sayed
Thanks all it worked. --Irfan From: Dr.Ruud To: beginners@perl.org Sent: Wed, August 18, 2010 12:35:57 AM Subject: Re: print string in file Irfan Sayed wrote: > print MYFILE "\n" where MYFILE is a > file >handler. s/handler/handle/

Re: print string in file

2010-08-17 Thread Dr.Ruud
Irfan Sayed wrote: print MYFILE "\n" where MYFILE is a file handler. s/handler/handle/ print $MYFILE qq{\n}; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: print string in file

2010-08-17 Thread Shawn H Corey
On 10-08-17 07:59 AM, Irfan Sayed wrote: Hi All, I need to print some string into the file. the string is like this : "" i have written code like this : print MYFILE "\n" where MYFILE is a file handler. if i run this code , it is giving so many syntax errors. any advice please Regards Irfan

RE: print string in file

2010-08-17 Thread Bob McConnell
From: Irfan Sayed > I need to print some string into the file. > the string is like this : "" > > i have written code like this : > print MYFILE "\n" where MYFILE is a file > handler. > > if i run this code , it is giving so many syntax errors. > any advice please You can't have unescaped q