Is there a way to say something like $NewVariable eq whatever $ExistingVariable would be if I applied s/^Super// to it? Does that make sense? Does this have to take up three lines or can I do it in one?$ExistingVariable = "SuperMan"; $NewVariable = $ExistingVariable; $NewVariable=~s/^Super//;
In reply to Substitution question by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |