Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Help on parsing an array

by Wonko the sane (Deacon)
on May 13, 2003 at 13:42 UTC ( #257726=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Help on parsing an array
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://257726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (20)
As of 2014-09-23 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (224 votes), past polls