Jan Eden wrote:

>
> BTW, accessing $1 like this implies that $1, $2 ... form an array. How can it be 
> accessed as a whole?

my @matches = /($regex)/g;
my @matches = /hard-coded random stuff(.*) boilerplate(.*)more unwanted (.*)/;

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to