Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: web spider

by socketdave (Curate)
on Mar 23, 2006 at 14:04 UTC ( #538746=note: print w/replies, xml ) Need Help??


in reply to web spider

When posting this type of question, you'll generally get a better response if you take a shot and post the code that's not working for you. That said, you might want something like this:
map s/\@ulster\.ac\.uk//, @your_array;
or
map s/\@ulster\.ac\.uk//g, @your_array;
if there is a possibility that an array element will hold more than one email address.

Take some time and look up 'map' and s///. There is MTOWTDI, and there are more basic solutions to this problem.

Replies are listed 'Best First'.
Re^2: web spider
by merlyn (Sage) on Mar 23, 2006 at 15:30 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://538746]
help
Chatterbox?
[corenth]: Good morning (in my neck of the woods)
[Cosmic37]: hello perly kings and queens
[jedikaiti]: 'ello Monks
[Cosmic37]: and monkeys too...
[Cosmic37]: is anyone doing machine learning with Perl?
[Cosmic37]: I was using gneural code in C and it was interesting but did not have back propagation for neural networks
[corenth]: Cosmic, poking at it, but not really.
[Cosmic37]: I read that its possible to use the FANN library with Perl so I might try that now...
[corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)
[Cosmic37]: FANN also has LGPL license which I like and its supposed to be quite a capable library from what I read

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2018-02-20 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (274 votes). Check out past polls.

    Notices?