That's no excuse for implementing a constant using tie.
use strict; use warnings; Internals::SvREADONLY(my $answer = 42, 1); print "This interpolates: $answer\n"; $answer++; # dies
In reply to Re^3: question regarding "Tie" in Perl
by tobyink
in thread question regarding "Tie" in Perl
by lightoverhead
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |