[11744] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 5345 Volume: 8

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Apr 9 19:07:23 1999

Date: Fri, 9 Apr 99 16:01:32 -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           Fri, 9 Apr 1999     Volume: 8 Number: 5345

Today's topics:
        PING! <davidmac@texas.net>
    Re: PING! <cassell@mail.cor.epa.gov>
    Re: PING! <flavell@mail.cern.ch>
    Re: PING! <cassell@mail.cor.epa.gov>
    Re: PING! <gellyfish@gellyfish.com>
    Re: PPM has created a new dir. <gellyfish@gellyfish.com>
    Re: pragma - The cgi is written in perl <gellyfish@gellyfish.com>
    Re: Privacy for slaves forced to use a proxy/firewall t <gellyfish@gellyfish.com>
    Re: Q: Net::FTP, Timeout doesn't seem to work <gellyfish@gellyfish.com>
    Re: RTFM please!  perldoc PSI::ESP (was Re: Validating  (I R A Aggie)
    Re: RTFM please!  perldoc PSI::ESP (was Re: Validating  <cassell@mail.cor.epa.gov>
    Re: running outside program from perl script <gellyfish@gellyfish.com>
    Re: Stripping html tags within perl <jdf@pobox.com>
    Re: Stripping html tags within perl <gellyfish@gellyfish.com>
    Re: Sys::Syslog (Marc Haber)
    Re: Thank You comp.lang.perl.misc! <jonesy@rmi.nospam.net>
    Re: Thank You comp.lang.perl.misc! <gellyfish@gellyfish.com>
    Re: web-based newreader? <gellyfish@gellyfish.com>
    Re: Where can find bulletin or guestboard source? <gellyfish@gellyfish.com>
        Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)

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

Date: Fri, 09 Apr 1999 15:15:27 -0500
From: David McMullen <davidmac@texas.net>
Subject: PING!
Message-Id: <370E5FDF.AD5EBA35@texas.net>

I need to ping servers within my perl script.  How the heck can I make
perl know what I want?
Any help is greatly appreciated.




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

Date: Fri, 09 Apr 1999 14:35:52 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: PING!
Message-Id: <370E72B8.84C016E6@mail.cor.epa.gov>

David McMullen wrote:
> 
> I need to ping servers within my perl script.  How the heck can I make
> perl know what I want?
> Any help is greatly appreciated.

It's easier than you think.  Just go to CPAN and download the
Net::Ping module.  And viola!

HTH,
David
-- 
David Cassell, OAO                               
cassell@mail.cor.epa.gov
Senior Computing Specialist                          phone: (541)
754-4468
mathematical statistician                              fax: (541)
754-4716


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

Date: Fri, 9 Apr 1999 23:56:04 +0200
From: "Alan J. Flavell" <flavell@mail.cern.ch>
Subject: Re: PING!
Message-Id: <Pine.HPP.3.95a.990409235327.13091C-100000@hpplus01.cern.ch>

On Fri, 9 Apr 1999, David Cassell wrote:

> It's easier than you think.  Just go to CPAN and download the
> Net::Ping module.  And viola!
       ^^^^              ^^^^^

Do you have to play it pizzicato?

;-)




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

Date: Fri, 09 Apr 1999 15:29:26 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: PING!
Message-Id: <370E7F46.4BC149CD@mail.cor.epa.gov>

Alan J. Flavell wrote:
> 
> On Fri, 9 Apr 1999, David Cassell wrote:
> 
> > It's easier than you think.  Just go to CPAN and download the
> > Net::Ping module.  And viola!
>        ^^^^              ^^^^^
> 
> Do you have to play it pizzicato?
> 
> ;-)

Yes, that time it was deliberate.  Ahh.. the joys of torturing our
9th grade French teacher by mispronouncing easy words...

David
-- 
David Cassell, OAO                               
cassell@mail.cor.epa.gov
Senior Computing Specialist                          phone: (541)
754-4468
mathematical statistician                              fax: (541)
754-4716


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

Date: 9 Apr 1999 20:55:35 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: PING!
Message-Id: <7elpg7$1tq$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 15:15:27 -0500 David McMullen wrote:
> I need to ping servers within my perl script.  How the heck can I make
> perl know what I want?

You speak to it gently, perhaps buy it a meal with some nice wine and then
you hit it with your evil desire:

use Net::Ping;

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 20:56:24 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: PPM has created a new dir.
Message-Id: <7elpho$1tt$1@gellyfish.btinternet.com>

In comp.lang.perl.misc Greg Griffiths <greg2@surfaid.org> wrote:
> I've just started using PPM to update my packages and have noted that it
> has created 3 new dir in my PERL directory :
> 
> \html
> \htmlhelp
> \site
> 
> what can I/ Should I do with them ?

Er nothing.

They're supposed to be there.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 18:13:33 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: pragma - The cgi is written in perl
Message-Id: <7elg0d$1mv$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 01:47:16 -0400 JTJ wrote:
Subject: Re: pragma - The cgi is written in perl
> Egads

You could be writing your program in RPG/III,Scheme,APL or PL/I for all 
the CGI cares - infact I'm not even sure that your question is about CGI
as much about the stupidities of different browsers ....

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 18:31:21 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Privacy for slaves forced to use a proxy/firewall to access the net?
Message-Id: <7elh1p$1n8$1@gellyfish.btinternet.com>

In comp.lang.perl.misc foj@nym.alias.net wrote:
> 

<snip lunatic paranoid rant>

> If you want to debate whether a certain perl application or firewall use is
> ethical, at least have the courtesy of going to some other newsgroup ... don't
> you think ;-) .
> 

I think you ought to go away.

<followups set>

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 20:07:45 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Q: Net::FTP, Timeout doesn't seem to work
Message-Id: <7elmmh$1nn$1@gellyfish.btinternet.com>

The deceased comp.lang.perl removed

In comp.lang.perl.misc Reine Helldin <herh@algonet.se> wrote:
> Hi,
> I realy have no ide what so ever what to do about your problem with FTP
> sorry.
> But the reason I joined this list 

Just to be pedantic but this isnt a 'list' but a newsgroup ...

>                                    was that I am thinking of writing a small
> perl scrip for to use on my home page, that would alowe me to download a
> file of my choose to my /home on the server and eventualy send it via FTP
> to my ftp server at home.
> Just to utilize the bandwith usage.
> No I might just ask you if you think this is possible?
> 

Yes.

Use Net::FTP part of the libnet bundle available from CPAN.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 21:52:51 GMT
From: fl_aggie@thepentagon.com (I R A Aggie)
Subject: Re: RTFM please!  perldoc PSI::ESP (was Re: Validating Email addresses)
Message-Id: <slrn7gstqg.c53.fl_aggie@stat.fsu.edu>

On Tue, 06 Apr 1999 16:15:46 GMT, Clinton Pierce
<cpierce1@ford.com>, in <370c253d.518582912@news.ford.com> wrote:

+ This is a perfect use for that PSI::ESP module again.  In fact, this is
+ quoted as an example in the documentation.  Please RTFM!

Has this been posted to CPAN? when I try to install it from the cpan
shell (perl -MCPAN -e shell), I get:

cpan> install PSI::ESP
Warning: Cannot install PSI::ESP, don't know what it is.

cpan> i /PSI::ESP/
No objects found of any type for argument /PSI::ESP/

Or is this soemthing that will be automatically installed on my system
thru something like PSI::INSTALL?

James


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

Date: Fri, 09 Apr 1999 15:31:38 -0700
From: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: RTFM please!  perldoc PSI::ESP (was Re: Validating Email addresses)
Message-Id: <370E7FCA.2E38650D@mail.cor.epa.gov>

I R A Aggie wrote:
> 
> On Tue, 06 Apr 1999 16:15:46 GMT, Clinton Pierce
> <cpierce1@ford.com>, in <370c253d.518582912@news.ford.com> wrote:
> 
> + This is a perfect use for that PSI::ESP module again.  In fact, this is
> + quoted as an example in the documentation.  Please RTFM!
> 
> Has this been posted to CPAN? when I try to install it from the cpan
> shell (perl -MCPAN -e shell), I get:
> 
> cpan> install PSI::ESP
> Warning: Cannot install PSI::ESP, don't know what it is.
> 
> cpan> i /PSI::ESP/
> No objects found of any type for argument /PSI::ESP/
> 
> Or is this soemthing that will be automatically installed on my system
> thru something like PSI::INSTALL?
> 
> James

Surely CPAN will now know when you actually need the module?  :-)

David
-- 
David Cassell, OAO                               
cassell@mail.cor.epa.gov
Senior Computing Specialist                          phone: (541)
754-4468
mathematical statistician                              fax: (541)
754-4716


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

Date: 9 Apr 1999 19:48:35 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: running outside program from perl script
Message-Id: <7ellij$1ng$1@gellyfish.btinternet.com>

On Tue, 6 Apr 1999 11:58:22 -0700 Stephanie Fox wrote:
> 
> If I run this program from a DOS command line, it works great. The email is
> sent fine.
> 
> However, if I call it from a web page, the html shows up fine, but the email
> message does not get sent, and I can't seem to find any errors anywhere.
> 

Think permissions - ask your NT expert.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 09 Apr 1999 16:07:23 -0400
From: Jonathan Feinberg <jdf@pobox.com>
To: David Cassell <cassell@mail.cor.epa.gov>
Subject: Re: Stripping html tags within perl
Message-Id: <m3soa936dg.fsf@joshua.panix.com>

David Cassell <cassell@mail.cor.epa.gov> writes:

> This is hard to do for the general case.  Check out HTML::Parse and
> let it do the dirty work for you.

HTML::Parse is deprecated in favor of HTML::Parser.

-- 
Jonathan Feinberg   jdf@pobox.com   Sunny Brooklyn, NY
http://pobox.com/~jdf


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

Date: 9 Apr 1999 21:12:39 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Stripping html tags within perl
Message-Id: <7elqg7$1ue$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 12:11:57 -0700 Neil Sandow wrote:
> s/<[^>]*>//g
> That was the one that did it.  Thank you! Thank you! Thank you!
> 

Before you get to efusive with you thanks you might want to check out
perlfaq9 :

=head2 How do I remove HTML from a string?

Wherein there is a fuller description of the problem.

Oh BTW could you fix your newsreader so that item you are replying to
appears above your reply as is the norm here - I just cut out the quoted
stuff here but it generally considered easier to understand the context
if done like that.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: Fri, 09 Apr 1999 20:27:24 GMT
From: Marc.Haber-usenet@gmx.de (Marc Haber)
Subject: Re: Sys::Syslog
Message-Id: <7elnrd$mr4$6@news.rz.uni-karlsruhe.de>

njc@dmc.uucp (Neil Cherry) wrote:
>On Fri, 09 Apr 1999 13:52:29 GMT, Marc Haber wrote:
>>Kozo <kozo@pobox.sk> wrote:
>>>perl is This is perl, version 5.004_04 built for i386-linux
>>>from perl-5.004m4-1 on RH 5.2
>>
>>There are some rumours of a broken perl with certain RedHat versions.
>>This is known to affect majordomo.
>
>That would explain why it doesn't work on my RH system. Sounds like it
>may not be perl though as I rebuilt (fresh compile) and got the same
>thing.

Did you try the latest rpm from RedHat?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


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

Date: 9 Apr 1999 20:13:59 GMT
From: Jonesy <jonesy@rmi.nospam.net>
Subject: Re: Thank You comp.lang.perl.misc!
Message-Id: <7eln27$nel$1@news1.rmi.net>

Aaron Dickinson <adickinson@barr.com> wrote:

: Thank you all for being roll models for 
: other programmers out on the Net... 

Roll models!!???  They're called love handles!

Oh,
    maybe role models - huh?


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

Date: 9 Apr 1999 21:03:53 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Thank You comp.lang.perl.misc!
Message-Id: <7elpvp$1u3$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 09:36:29 -0700 Aaron Dickinson wrote:
> I posted a question about directory traversing on 4-8-99 and within just
> an hour I received several replies which should solve my problems, each
> in a different way.  

I think you'd better hand over those peoples names and addresses they
obviously got in here by mistake.

>                      Thank you all for being roll models 

Yes I'm particularly fond of those little items of patisserie that look
like Mother Theresa (rest her soul).  

>                                                            for other
> programmers out on the Net... I wish everyone gave advice as freely and
> knowledgeable as you!
> 

Look you cant go around saying things like that ...  we're supposed to be
a bunch of hard-assed money grabbing bastards dont you know ?

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 22:53:00 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: web-based newreader?
Message-Id: <7em0cc$1vb$1@gellyfish.btinternet.com>

On Fri, 09 Apr 1999 13:03:43 -0400 Jason wrote:
> The problem with DejaNews is that it wont let me read/post
> from MY news server.
> 

I guesss then that you'll be looking at writing your own.

Net::NNTP
News::NNTPClient
CGI

Are the modules that would be of most help.

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

Date: 9 Apr 1999 18:15:01 -0000
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Where can find bulletin or guestboard source?
Message-Id: <7elg35$1n2$1@gellyfish.btinternet.com>

On 9 Apr 1999 08:45:58 GMT 8717561 wrote:
> 	I hear many source codes are free in internet
> 
> 	but i can't find them ,
> 
> 	can anyone tell me where i can find them.. 
> 

I'd go an use something like AltaVista to help me find what I wanted.
Why did you think that here was a good place to start looking ?

/J\
-- 
Jonathan Stowe <jns@gellyfish.com>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>


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

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 5345
**************************************

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