perl-unicode

Re: Matching encoded strings and file names

2005-12-21 04:39:42
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