[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] perl $!
On Mon, May 24, 2004 at 03:24:23PM -0400, Christopher Fowler wrote:
> What is the proper way to set $1?
$1 or $! ?
Actually, it doesn't really matter; both are read-only.
$! is only valid following a system or library call that FAILS. If
you're trying to return a value that signifies an error, then you should
return a value.
- Pizza
--
Solomon Peachy ICQ: 1318344
Melbourne, FL JID: pitha at myjabber.net
Quidquid latine dictum sit, altum viditur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
- References:
- [ale] perl $!
- From: cfowler at outpostsentinel.com (Christopher Fowler)