Revision: | 1.1 |
Committed: | Wed Mar 29 09:48:33 2000 UTC (25 years, 1 month ago) by williamc |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | handlers for test type |
# | User | Rev | Content |
---|---|---|---|
1 | williamc | 1.1 | # |
2 | # standard url interface for testing - creates an empty file | ||
3 | # | ||
4 | # Interface | ||
5 | # --------- | ||
6 | # new() : | ||
7 | # get(url, destination) : | ||
8 | |||
9 | package URL::URL_test; | ||
10 | require 5.001; | ||
11 | use File::Copy; | ||
12 | use URL::URL_base; | ||
13 | @ISA=qw(URL::URL_base); | ||
14 | |||
15 | sub get { | ||
16 | my $self=shift; | ||
17 | my $url=shift; | ||
18 | my $location=shift; | ||
19 | |||
20 | my $filename=$url->fullfile(); | ||
21 | return $filename; | ||
22 | } |