On Feb 19, 2004, at 8:45 PM, Ohad Ohad wrote:
No, but it's a cool convention
From: Jacob Chapa <[EMAIL PROTECTED]> To: Perl Beginners <[EMAIL PROTECTED]> Subject: $self Date: Thu, 19 Feb 2004 22:23:14 -0600
is $self a special scalar?
actually the simpler solutions is
sub my_do_foo { my ($me, $arg, $other) = @_;
$me->doOther($arg) unless $other ; ... }
but I am fond of 'my $me' and it saves me from having to type two additional letters...
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>