Re: Matching encoded strings and file names

[email protected] (John Doe)
Newsgroups perl.unicode
Message-ID <[email protected]>
John Delacour am Mittwoch, 21. Dezember 2005 01.19:
> At 12:03 am +0000 21/12/05, John Delacour wrote:
> >         open TEST, $testfile;
> >         print TEST $testtext;
> >         close TEST;
>
> Sorry, that should be
>
>           open TEST, ">$testfile";

or even better

	open TEST, '>', $testfile or die "couldn't open $testfile: $!";

joe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.