$str = aa;It is only an error when strict subs are in effect.Unless you have a variable named aa somewhere, that line will give you an error.
Though having strict on is almost always a good thing.{ no strict 'subs'; my $str = aa; say $str; }
In reply to Re^2: Difference between $1 and \1.
by lidden
in thread Difference between $1 and \1.
by rbala
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |