The second one does not make a constant
perl -le'my $BASE="are belong to us"; sub BASE () { $BASE }; $BASE="fred"; print "all your base ", BASE' all your base fred
Cheers,
R.
In reply to Re^2: Using constants. What am I doing wrong?
by Random_Walk
in thread Using constants. What am I doing wrong?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |