Hi,
If anyone can help me with this, I'd be much obliged. I'm probably
missing something obvious.
I have a variable with a long line of html in it, and I need to take
certain elements from it and store them in their own variables.
I can figure out how to match the parts that I need with a regular
expression, but once I've matched one, how do I put the matched value
into a variable?
I think something like this matches one of the values I want:
my $foo =~ /Foo \d{4} at \S+, \w{2}/;
But this only returns a true or false value, not what has been matched,
so I can't just directly assign what has been matched to another
variable, or can I? What am I missing?
Thanks,
Alan
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]