Thanks all it worked. --Irfan
________________________________ From: Dr.Ruud <rvtol+use...@isolution.nl> To: beginners@perl.org Sent: Wed, August 18, 2010 12:35:57 AM Subject: Re: print string in file Irfan Sayed wrote: > print MYFILE "<?xml version="1.0" encoding="UTF-8"?>\n" where MYFILE is a > file >handler. s/handler/handle/ print $MYFILE qq{<?xml version="1.0" encoding="UTF-8"?>\n}; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/