Re: Script Help
From: Purl Gurl (purlgurl_at_purlgurl.net)
Date: 10/30/03
- Next message: Ben Morrow: "Re: Can't do setuid and file permision denied errors"
- Previous message: Ben Morrow: "Re: fork process to handle fifo input"
- In reply to: Kev: "Script Help"
- Next in thread: Jim Gibson: "Re: Script Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 14:17:51 -0800
Kev wrote:
(snipped)
> The portion that I'm working on is used to find all pages
> ending in .htm / .html
> Can anyone help in eliminating the non .htm / html links obtained?
> my $elt_type = shift @element;
You never use this variable, $elt_type.
> my ($attr_name, $attr_value) = splice(@element, 0, 2);
> $seen{$attr_value}++;
if (splice(@element, 0, 2) =~ /(http.*htm[l]*)/)
{ $seen{$1}++; }
Purl Gurl
-- Amazing Perl Scripts! http://www.purlgurl.net/~callgirl/android.html
- Next message: Ben Morrow: "Re: Can't do setuid and file permision denied errors"
- Previous message: Ben Morrow: "Re: fork process to handle fifo input"
- In reply to: Kev: "Script Help"
- Next in thread: Jim Gibson: "Re: Script Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]