$asdf =~ /(asdf)/; $1 =~ s/asdf//;
In other words, I was trying to modify the special variable $1. Once I set $1 to something else, the code worked like a charm. Why can't I do substitutions on $1?
In reply to Re: Re: LWP::Simple and Read-only Values
by Anonymous Monk
in thread LWP::Simple and Read-only Values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |