in reply to Help on parsing an array

There are at least 101 ways to do this. Here is one of them.
my @urls = map { /href=([^\n\r]+)/ } @strings;

I would wonder if at a higher level your task may be better suited for one of the HTML Parser modules though.:-)

Wonko.

Replies are listed 'Best First'.
Re: Re: Help on parsing an array
by Anonymous Monk on May 13, 2003 at 13:58 UTC
    i used they way u showed me to , is there a way to get rid of the "" that would be really wonderful here is the output as i am getting it "/forwardBookmark.jsp" "/search/searchhelp.jsp" thanks again for ur help
Re: Re: Help on parsing an array
by Anonymous Monk on May 13, 2003 at 14:01 UTC
    got the quotes i was just playing with it and figured it out thank you very much for ur help