This snippet works:
$_ = "abcdef"; substr($_,0,3) =~ tr/a-z/A-Z/; print;
output:
ABCdefupdate: using $_ instead of $a
In reply to Re: TRing part of a line
by fglock
in thread TRing part of a line
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |