Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
In Perl 4 the &sigil was mandatory, Perl 5 changed this.
IIRC it has now a bunch of side effects like°
This can be very useful in edge cases <1‰, but will more likely cause trouble in normal use. The only time you can't avoid &sigils in standard Perl5 is when referencing a named function ˛ $code_ref = \&sub_name More in perlsub ... HTH :)
Cheers Rolf
Updates°) other use case are:
In reply to Re: why avoid & on function call (updated x 3)
by LanX
|
|