[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Will webget work in MacPerl.



Please forgive anything extremely naive in this pos; I'm hoping I'm missing
something obvious. I want to ask these questions before I started to trace
through the code.

A friend suggested we work together on a cross platform project at first he
thought we'd be best of in C because of portability, cross-platform
independence, and the ease of distributing a self-contained program (i.e.
it wouldn't require the end user as Perl). We both use Perl and Macs but
most of his Perl work has been on Unix. (So has mine) When he said he could
prototype the project in a few hours in Perl I suggested we do it first in
Perl and then convert it to C if we need to.

His Perl code relays very heavily on webget from
http://www.wg.omron.co.jp/~jfriedl/perl/ which also requires www.pl and
network.pl from the same site.

The first time I tried it, as it was without any modifications. I saved
wepget, network.pl, and www.pl in Mac Text format in the Lib folder so
they'd be in the search path. I don't know how to make MacPerl search the
directory containing where the Perl program I've started running. The
program didn't do anything except start ToolServer. I have MPW installed
but I'm not using it with MacPerl, as far as I know.

For the second attempt I decided I needed to pass it an argument, which is
how it was designed, so I clicked turned on the "prompt for args" option
under the general options under the camel menu in Alpha. (I do as much as I
can from Alpha!) I copied the run line parameter from my friend's email to
give it the parameter as required and tried again. The same basic result -
I couldn't tell if it would open ToolServer because it was open from before.

Has anyone used or ported webget to MacPerl?
Why is it starting ToolServer when I didn't install the MPW version?
Is there any problem with passing parameters from Alpha?

Josh Kuperman
josh@racing.saratoga.ny.us
http://www.racing.saratoga.ny.us/~josh



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch