ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/URL/URLhandler.pm
(Generate patch)

Comparing COMP/SCRAM/src/URL/URLhandler.pm (file contents):
Revision 1.15.2.1 by williamc, Fri Aug 4 08:21:26 2000 UTC vs.
Revision 1.15.2.2 by williamc, Fri Aug 4 12:57:47 2000 UTC

# Line 5 | Line 5
5   # get(url,[location]) : download from the specified url to cache or location
6   #                       return the full url path name incl. any base expansion
7   #                       and the filename downloaded to
8 < # setbase(urlstring) : set a base url type
8 > # setbase(urlstring) : set a base url type - return the url object
9   # unsetbase(type)  : deactivate a previously set base
10   # currentbase(type) : return the current base for the given type
11   #
# Line 101 | Line 101 | sub setbase {
101          $self->checktype($type);
102          # make a new base-url object
103          push @{$self->{"basestack"}{$type}}, $base;
104 +        return $base;
105   }
106  
107   sub unsetbase {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines