Note that this code fails:
Since we are interpolating, Perl tries to find @R_Something_ and fails. ${R} works perfectly, as Ovid points out.my $R = 'Twenty'; print "$R_Something_[1]";
Russ
Brainbench 'Most Valuable Professional' for Perl
In reply to RE: How Does Interpolation Work?
by Russ
in thread How Does Interpolation Work?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |