[12096] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 5696 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon May 17 11:15:17 1999

Date: Mon, 17 May 99 08:00:13 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Mon, 17 May 1999     Volume: 8 Number: 5696

Today's topics:
        how to free a Socket <dataadm@elfi2.rz.ruhr-uni-bochum.de>
    Re: MacPerl (Tim Herzog)
        Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Mon, 17 May 1999 16:38:01 +0100
From: Sebastian Ahrens <dataadm@elfi2.rz.ruhr-uni-bochum.de>
Subject: how to free a Socket
Message-Id: <374037D9.DEADE304@elfi2.rz.ruhr-uni-bochum.de>

I am using IO::Socket and IO::Select for a server-application. Now
obviously a used socket is not freed immediately, because after a
control-d and a restart of the server-app the handle for the socket is
not valid -- I get this error:

Can't use an undefined value as a symbol reference at
/usr/local/lib/perl5/5.00502/sun4-solaris/IO/Select.pm line 57, <> chunk
1.

Now after a certain period of time (always changing!) I am able to
restart the program, which indicates the blocked socket is freed by the
system (Solaris 7 on an Unltra Sparc).

How can I get control over the freeing of a once used socket?

Could anyone point me into the right direction?

regards

                    -Sebastian-



------------------------------

Date: Mon, 17 May 1999 09:27:54 -0500
From: therzog@knotech.com (Tim Herzog)
Subject: Re: MacPerl
Message-Id: <therzog-1705990927540001@therzog-host105.dsl.visi.com>

In article <bsharvyNOSPAM-1605991617510001@dynip132.efn.org>,
bsharvyNOSPAM@efn.org wrote:

>I recently downloaded MacPerl 5.2. I can't quite figure out what you can,
>and cannot do with it. Could you, in theory, build applications like
>Clarisworks or Quake with it? Is it just for CGI work? If you can make
>full featured mac applictions with it, is there a book telling how?

MacPerl has some API hooks and GUI functionality, but if you want to build
full-blown, distributable apps, use something else.  For one thing,
anything you write in MacPerl is going to need a perl interpreter (i.e.,
MacPerl) to run, so you can't really build stand-alone apps.

What it's good for is writing quick-and-dirty data processing scripts
where it's too much for AppleScript and too little for C or C++ and you
don't care much about a GUI.  There's lots of modules for stuff like
AppleEvents and OpenTransport, etc., so it's plenty robust, but I wouldn't
wnant to write a game or word processor in it (or any other perl
platform).

-- 
Tim Herzog


------------------------------

Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>


Administrivia:

Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing. 

]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body.  Majordomo will then send you instructions on how to confirm your
]subscription.  This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.

The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V8 Issue 5696
**************************************

home help back first fref pref prev next nref lref last post