On Mon, 16 Aug 2004, Fontenot, Paul wrote:
I'm not having much luck with that :), probably using it incorrectly though.
Is this correct:
my $mso = $row[2]( m/MS\d\d\-\d{3}/);
or am I just way wrong on this one?
We wouldn't know. You didn't tell us how this data is stored before now.
Are you saying that this data is stored in the @row array ?
If so, then the code to extract $mso from whatever scalar value holds the actual html string needs to be wrapped in code to walk the array.
Maybe you should back up now and explain what @row / $row[2] is/are.
-- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/
np: 'Four6 (John Cage)' by Sonic Youth from 'Goodbye 20th Century'
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>