sub add_ten { $_[0] += 10; } $x = 20; add_ten($x); print $x; # 30
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
In reply to Re: style q: duplication? of variables
by japhy
in thread style q: duplication? of variables
by thpfft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |