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

[MacPerl] News postings and suchlike



I'm attempting to write a script that will read in data from a file, output some of that data (depending on the date) to a message, and then post that message to a newsgroup.
>From what I can see of Perl, it should be possible.
However, having briefly looked at ordinary Perl scripts, they seem to use a lot of unix-based things, such as getting the hostname using $hostname=`/etc/hostname` and suchlike, which doesn't work on a Mac. :-)

So, two things:
Firstly, is this possible in MacPerl? (I would be surprised if not)
Secondly, can someone give me some pointers as to how to do this sort of thing? A pointer to a previously existing MacPerl auto-news-posting script, or basic suggestions, are what I'm looking for here, not someone else to do it for me, since Perl seems rather useful so I'd like to learn it :)

Aquarius (aquarius@cryogen.com)
---------------------------
--This_message_has_been----
--posted_through_Mail2Web--
--http://www.mail2web.com--
--Your_free_email_gateway--
--from_your_web_browser.---
---------------------------



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