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

Comparing COMP/SCRAM/src/Scram/ScramFunctions.pm (file contents):
Revision 1.6 by williamc, Wed Sep 6 08:14:46 2000 UTC vs.
Revision 1.7 by williamc, Wed Sep 13 15:46:18 2000 UTC

# Line 19 | Line 19
19   # setuptoolsinarea($area[,$toolname[,$toolversion[,toolfile]) : setup
20   # arch()                : get/set the architecture string
21   # scramobjectinterface(Class)  : print out the interface of a scram class
22 + # webget(area,url)      : get the url into the cache of the specified area
23  
24   package Scram::ScramFunctions;
25   use URL::URLcache;
# Line 143 | Line 144 | sub satellite {
144          return $area;
145   }
146  
147 + sub webget {
148 +        my $self=shift;
149 +        my $area=shift;
150 +        my $url=shift;
151 +
152 +        my $handler=URL::URLhandler->new($area->cache());
153 +        return ($handler->get($url));
154 + }
155 +
156   sub addareatoDB {
157          my $self=shift;
158          my $area=shift;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines