[Thread Prev][Thread Next][Thread Index]
"copyurl -s" with SyncMemo
- To: pilotmgr@xxxxxxxxxxxxxxxxxxx
- Subject: "copyurl -s" with SyncMemo
- From: Robert Gusick <gusick@xxxxxx>
- Date: Mon, 19 May 1997 10:44:10 -0400 (EDT)
- Sender: owner-pilotmgr@shadow
--
For those of you using "copyurl -s" with SyncMemo, here's a much
shorter script that does the same thing:
................................................................
#!/usr/local/bin/perl5
use LWP::Simple;
if ($ARGV[0])
{
$URL=$ARGV[0];
}
else
{
print STDERR "You need to provide an URL\n";
exit;
}
$LWP::Simple::ua->proxy(http => 'http://__PROXY_SERVER__:__PORT__');
$page = get $URL or die "Cannot get $URL\n";
print $page;
------------------------------------------------------------------
Robert Gusick, gusick@xxxxxx, (212) 762-2986, FAX (212) 762-1012
Morgan Stanley, 750 Seventh Avenue, 12th Floor, New York, NY 10019
---------------------------------------------------------------------
********************************************
* This is a public mailing list! *
* Please do not publish Sun proprietary *
* information here! *
********************************************