- or download this
P:\test>c:\perl561\bin\perl5.6.1.exe \bin\p1.pl
perl> $bigScalar = 'the quick brown fox jumps over the laxy dog';;
...
dog
dog
dog
- or download this
perl> $bigScalar = 'the quick brown fox jumps over the laxy dog';;
...
the
laxy
dog
- or download this
P:\test>c:\perl5.8.5\bin\perl5.8.5.exe \bin\p1.pl
perl> $bigScalar = 'the quick brown fox jumps over the laxy dog';;
...
r th
la
y do
- or download this
perl> $s = 'abcde';;
perl> $lv = \ substr $s, 1, 3;;
...
perl> print $$lv;;
123 ## The lvref stil refers to a 3 char substring.
## this could be adjusted to reflect the new len
+gth.