[ale] perl $!
    Stuffed Crust 
    pizza at shaftnet.org
       
    Mon May 24 16:38:16 EDT 2004
    
    
  
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
    
    
More information about the Ale
mailing list