in reply to Re: LWP::Simple and Read-only Values
in thread LWP::Simple and Read-only Values
$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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: LWP::Simple and Read-only Values
by chromatic (Archbishop) on Jul 13, 2003 at 03:08 UTC | |
|
Re: Re: Re: LWP::Simple and Read-only Values
by bobn (Chaplain) on Jul 13, 2003 at 03:01 UTC |