in reply to Re: Re: 'my' buggy...
in thread 'my' buggy...
sub foo {
my $baz = 12 if @_;
print "$baz\n";
$baz++;
}
foo(1);
foo();
foo();
foo();
foo(1);
foo();
foo();
foo();
Produces
12 1 2 12 1 2You don't really think I'd not check, do you? :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Oh 'my', how weird...
by ferrency (Deacon) on Apr 30, 2002 at 20:25 UTC | |
by Anonymous Monk on May 01, 2002 at 01:39 UTC | |
by Elian (Parson) on Apr 30, 2002 at 21:40 UTC | |
|
Re: Re: Re: Re: 'my' buggy...
by mojotoad (Monsignor) on Apr 30, 2002 at 16:39 UTC | |
by Elian (Parson) on Apr 30, 2002 at 16:54 UTC | |
|
Re: Re: Re: Re: 'my' buggy...
by japhy (Canon) on Apr 30, 2002 at 17:32 UTC |