[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] help appending named parmeters to a file



At 05.18 -0500 1998.12.02, Matthew Phillips wrote:
> 2.  open (OUT,'>>test.out') || die;

Try:

  open(OUT, '>>test.out') or die "Cannot append to test.out: $!";

For open and other builtins, always check the value of $!.  For MacPerl
toolbox module functions, check the value of $^E.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch