Re: URI:: Find & Vertical bar ('|') in URL
- From: "Paul Lalli" <mritty@xxxxxxxxx>
- Date: 18 Dec 2006 12:49:35 -0800
Rosina Bignall wrote:
So, now my question is, is there a way to just add characters to the
original uric_set, something like
sub uric_set {
my $uric_set = URI::Find->uric_set;
$uric_set.='\|';
return $uric_set;
}
Obviously, this doesn't work as is
That's not at all obvious. I would have expected that to work. Can
you be more specific about how it "doesn't work"? What errors does it
generate?
and needs somehow to properly reference
the original uric_set from the URI::Find parent class.
Without looking at the source of the original module, I'd simply try:
sub uric_set {
my $obj = shift;
my $uric_set = $obj->SUPER::uric_set();
$uric_set .= '\|';
return $uric_set;
}
Paul Lalli
.
- Follow-Ups:
- Re: URI:: Find & Vertical bar ('|') in URL
- From: Rosina Bignall
- Re: URI:: Find & Vertical bar ('|') in URL
- References:
- URI:: Find & Vertical bar ('|') in URL
- From: Rosina Bignall
- Re: URI:: Find & Vertical bar ('|') in URL
- From: Paul Lalli
- Re: URI:: Find & Vertical bar ('|') in URL
- From: Rosina Bignall
- URI:: Find & Vertical bar ('|') in URL
- Prev by Date: Re: Want to create a website using perl and CGI
- Next by Date: Re: using Perl to find string..
- Previous by thread: Re: URI:: Find & Vertical bar ('|') in URL
- Next by thread: Re: URI:: Find & Vertical bar ('|') in URL
- Index(es):
Relevant Pages
|