home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl_ste.zip
/
auto
/
URI
/
URL
/
bad_method.al
< prev
next >
Wrap
Text File
|
1997-11-28
|
400b
|
16 lines
# NOTE: Derived from ./blib/lib/URI/URL.pm. Changes made here will be lost.
package URI::URL;
# This is set up as an alias for various methods
sub bad_method {
my $self = shift;
my $scheme = $self->scheme;
Carp::croak("Illegal method called for $scheme: URL")
if $Strict_URL;
# Carp::carp("Illegal method called for $scheme: URL")
# if $^W;
undef;
}
1;