[26648] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 8755 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Dec 12 11:05:29 2005

Date: Mon, 12 Dec 2005 08:05:04 -0800 (PST)
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, 12 Dec 2005     Volume: 10 Number: 8755

Today's topics:
    Re: Can device drivers be written in Perl? <josef.moellers@fujitsu-siemens.com>
    Re: FAQ 8.11 How do I decode encrypted password files? <matthew.garrish@sympatico.ca>
        Viewing HTML source from URL <jds@myob.com>
    Re: Viewing HTML source from URL <jds@myob.com>
    Re: Viewing HTML source from URL <usenet@larseighner.com>
    Re: What is the reason for Perl? <vilain@spamcop.net>
    Re: What is the reason for Perl? <mtbr1119AT@cwnetDOT.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Mon, 12 Dec 2005 09:25:39 +0100
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: Can device drivers be written in Perl?
Message-Id: <dnjc0q$2mi$1@nntp.fujitsu-siemens.com>

robic0 wrote:
> ???????

It depends on what you consider a "driver".

Consdering your recent postings, I'd rather not answer your question,=20
anyway.
--=20
Josef M=F6llers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize
						-- T.  Pratchett



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

Date: Mon, 12 Dec 2005 07:37:30 -0500
From: "Matt Garrish" <matthew.garrish@sympatico.ca>
Subject: Re: FAQ 8.11 How do I decode encrypted password files?
Message-Id: <daenf.758$PQ3.199774@news20.bellglobal.com>


"PerlFAQ Server" <comdog@pair.com> wrote in message 
news:dnjld5$qcr$1@reader2.panix.com...
> This message is one of several periodic postings to comp.lang.perl.misc
> intended to make it easier for perl programmers to find answers to
> common questions. The core of this message represents an excerpt
> from the documentation provided with Perl.
>
> --------------------------------------------------------------------
>
> 8.11: How do I decode encrypted password files?
>
>    You spend lots and lots of money on dedicated hardware, but this is
>    bound to get you talked about.
>

You hire Randal Schwartz and then you sue him when he succeeds... : )

(Sorry, never read that FAQ before and couldn't resist!)

Matt 




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

Date: Mon, 12 Dec 2005 11:41:41 GMT
From: "Julia De Silva" <jds@myob.com>
Subject: Viewing HTML source from URL
Message-Id: <Vldnf.30873$Ms6.1591@fe1.news.blueyonder.co.uk>

Hi there all,

Is it possible to view/process HTML source from an URL ?

my $html_file = 'http://www.mydomain.com/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";

The above doesn't find the file or directory which I suppose makes sense

my $html_file = '/path/to/document/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";

The above works OK but is not what I wanted !

Thanks in advance for help

J





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

Date: Mon, 12 Dec 2005 11:55:46 GMT
From: "Julia De Silva" <jds@myob.com>
Subject: Re: Viewing HTML source from URL
Message-Id: <6zdnf.31027$Ms6.13950@fe1.news.blueyonder.co.uk>

>Is it possible to view/process HTML source from an URL ?
>
> my $html_file = 'http://www.mydomain.com/index.htm';
> open(HTML, "$html_file") or die "$!";
> while (<HTML>) { print; }
> close(HTML) or die "$!";
>
> The above doesn't find the file or directory which I suppose makes sense
>
> my $html_file = '/path/to/document/index.htm';
> open(HTML, "$html_file") or die "$!";
> while (<HTML>) { print; }
> close(HTML) or die "$!";
>
> The above works OK but is not what I wanted !


Before the flames, please ignore this post .... I've at last found the FAQ 
for this !!
Half the trouble is asking the right question !

J 




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

Date: Mon, 12 Dec 2005 05:59:23 -0600
From: Lars Eighner <usenet@larseighner.com>
Subject: Re: Viewing HTML source from URL
Message-Id: <slrndpqpkb.m4e.usenet@goodwill.io.com>

In our last episode,
<Vldnf.30873$Ms6.1591@fe1.news.blueyonder.co.uk>, the lovely and
talented Julia De Silva broadcast on comp.lang.perl.misc:

> Hi there all,

> Is it possible to view/process HTML source from an URL ?

Use the get function in LWP::simple.  If you don't have LWP
installed and don't want to install, you can backtick whatever
fetch utility you have on your system or whatever browser with
appropriate flags (`lynx -source http://whatever`).

> my $html_file = 'http://www.mydomain.com/index.htm';
> open(HTML, "$html_file") or die "$!";
> while (<HTML>) { print; }
> close(HTML) or die "$!";

> The above doesn't find the file or directory which I suppose makes sense

> my $html_file = '/path/to/document/index.htm';
> open(HTML, "$html_file") or die "$!";
> while (<HTML>) { print; }
> close(HTML) or die "$!";

> The above works OK but is not what I wanted !

> Thanks in advance for help




-- 
Lars Eighner         usenet@larseighner.com         http://www.larseighner.com/
                       War on Terrorism: Camp Follower
"I am ... a total sucker for the guys ... with all the ribbons on and stuff,
  and they say it's true and I'm ready to believe it. -Cokie Roberts,_ABC_


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

Date: Sun, 11 Dec 2005 22:32:26 -0800
From: Michael Vilain <vilain@spamcop.net>
Subject: Re: What is the reason for Perl?
Message-Id: <vilain-E5689E.22322611122005@comcast.dca.giganews.com>

In article <g8opp155m53aooiijdlq1ccfekim9adrpl@4ax.com>, robic0 wrote:

> On Mon, 12 Dec 2005 02:21:05 GMT, Gregory Toomey <nobody@bigpond.com>
> wrote:
> 
> >robic0 wrote:
> >
> >> Explain to me if you can why Perl is something I should use in
> >> replacement to say C++ and a native API....
> >> I say "if you can" because I'm interrested in your bullshit.
> >
> >No you're not. You're interested in trolling.
> >
> >GO AWAY.
> 
> Got to forums for this kind of coersion. 
> Your a dickhead and a jackoff asshoe scumbag!
> Don't answer the posted question or fuck you!! 
> Shit somewhere else.......>
> >gtoomey

Yawn.  Got some marketing job sucking on a Microsoft PR person's 
whatever?  Be sure they wear latex and you wear kneepads.  Keep the blue 
dress, though.  It matches the color of your eyes.

Perl was a system admin tool developed by Larry Wall.  Runs on lots of 
systems and has a boatload of modules of stuff others have written for 
all sorts of applications.  I suspect it probably takes a lot less time 
to implement something in Perl than C++ _and_ it runs on lots more 
systems other than just Wintel.

*plonk*

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...





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

Date: 12 Dec 2005 00:53:25 -0800
From: Alan_C <mtbr1119AT@cwnetDOT.com>
Subject: Re: What is the reason for Perl?
Message-Id: <87y82qu262.fsf@AB60R.localdomain>

robic0 writes:

> Explain to me if you can why Perl is something I should use in
> replacement to say C++ and a native API....

bells ringing back to class! . . .

http://groups.google.com/group/comp.lang.perl.misc/search?group=comp.lang.perl.misc&q=bells+ringing+back+to+class&qt_g=1&searchnow=Search+this+group

No.  No.  I don't go there.

http://groups.google.com/group/comp.lang.perl.misc/browse_frm/thread/ccd0e0dce0d06af0/bad4ce66b32ddae2?q=bells+ringing+back+to+class&rnum=1#bad4ce66b32ddae2

I have a use for Perl, my use that I use it for.  And, my use doesn't
involve such "replacement" as what you mentioned.  (nor do I know how
to program C++).

Whatever software that you engineer probably does not call for the
use of Perl.

if ( $call =~ /no_call_for_Perl/ ) {
print "Do not use Perl\n";
}

-- 
Alan_C


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

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#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.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

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.

#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 V10 Issue 8755
***************************************


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