[26833] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 8862 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jan 18 03:05:30 2006

Date: Wed, 18 Jan 2006 00:05:05 -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           Wed, 18 Jan 2006     Volume: 10 Number: 8862

Today's topics:
    Re: Blather-Adjusting Programs vjp2.at@at.BioStrategist.dot.dot.com
        Module Installation Problem: Prerequisite <seanatpurdue@hotmail.com>
    Re: Search Question <tadmc@augustmail.com>
    Re: Search Question <dha@panix.com>
    Re: wget Question <tadmc@augustmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Wed, 18 Jan 2006 07:22:50 +0000 (UTC)
From: vjp2.at@at.BioStrategist.dot.dot.com
Subject: Re: Blather-Adjusting Programs
Message-Id: <dqkqca$5rs$1@reader2.panix.com>


Do a google on [latent semantic bayesian essay].. wow!


				- = -
    Vasos-Peter John Panagiotopoulos II, Columbia'81+, Bio$trategist
	      BachMozart ReaganQuayle EvrytanoKastorian
       http://ourworld.compuserve.com/homepages/vjp2/vasos.htm
  ---{Nothing herein constitutes advice.  Everything fully disclaimed.}---
  [Zealots conceal own mixed past] [Cigar smoke belongs in veg food group]
   [Homeland Security means private firearms not lazy obstructive guards]



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

Date: Tue, 17 Jan 2006 23:22:48 -0500
From: Sean <seanatpurdue@hotmail.com>
Subject: Module Installation Problem: Prerequisite
Message-Id: <dqkfqo$63c$1@mailhub227.itcs.purdue.edu>

I don't have root privilege and I want to install a module under my home 
directory.

I met a problem when I try to install a perl module in the usr direcotry 
under my home directory (i.e., "~/usr"). What I did and the error 
message is listed as follows.
--------------------------------------
 >> perl Makefile.PL PREFIX=~/usr
Warning: prerequisite Heap 0 not found.
Writing Makefile for Graph
---------------------------------------

I tried to download module Heap from CPAN, which I successfully 
installed in ~/usr. But the warning message is still there.
What step have I missed?

Thanks a lot,
Sean


And here is the Makefile.PL file
-----------------------------------------
#Makefile.PL

use ExtUtils::MakeMaker;

require 5.005;

use Getopt::Long;

my $renum;

GetOptions('renumber' => \$renum);

do 'util/renum.pl' if $renum;

WriteMakefile(
               NAME            => 'Graph',
               VERSION_FROM    => 'lib/Graph.pm',
               PREREQ_PM       =>
                 {
                     'Heap'              => 0,
                     'List::Util'        => 0,
                     'Math::Complex'     => 0,
                     'Test::More'        => 0,
                 },
               );

# Some Debian distributions have a broken List::Util (see rt.cpan.org #9568)
eval 'require Scalar::Util; import Scalar::Util qw(weaken)';
if ($@) {
     die <<__EOF__;
$@
You do not have Scalar::Util::weaken, cannot continue, aborting.
__EOF__
}


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

Date: Tue, 17 Jan 2006 23:37:31 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: Search Question
Message-Id: <slrndsrl0r.3it.tadmc@magna.augustmail.com>

Reinhard Glauber <kigar@gmx.net> wrote:
> 
>> > 
>> > but what means (?:.*\n)
>> 
>> Yes, how rude of you, Dr. Ruud, to not thoroughly explain every detail 
>> of the expression you posted!!


> Is this Newsgroup just for the Elite ?


No, but it is hoped that people would spend 10 minutes trying to
find the answer on their own before asking hundreds/thousands
of people around the world about it.

Perl's regular expressions are documented in

   perldoc perlrequick
   perldoc perlretut
   perldoc perlre


It is also hoped that you would not ask hundreds of people to bother
explaining parts that you _do_ already understand.

Which parts do you not understand?

dot (.) matches any character.

asterisk (*) matches zero or more of the previous thing.

\n matches a newline.

(?:   ) does grouping, like parenthesis, but without triggering memory.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

Date: Wed, 18 Jan 2006 07:08:41 +0000 (UTC)
From: "David H. Adler" <dha@panix.com>
Subject: Re: Search Question
Message-Id: <slrndsrqbp.hqi.dha@panix2.panix.com>

On 2006-01-18, Tad McClellan <tadmc@augustmail.com> wrote:
>
> dot (.) matches any character.

Um... not unless you're following damian's advice to use the /s modifier
at all times. Under normal circumstances it matches any character
*except a newline*.

dha

-- 
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
"What is this Japanese preoccupation with the name Ken???" - Tom Servo


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

Date: Tue, 17 Jan 2006 23:23:37 -0600
From: Tad McClellan <tadmc@augustmail.com>
Subject: Re: wget Question
Message-Id: <slrndsrk6p.3it.tadmc@magna.augustmail.com>

Reinhard Glauber <kigar@gmx.net> wrote:

> $answer = system("wget http://www.bla.de/bla/blaDetail.aspx?ID=$i");

   perldoc -q HTML

       How do I fetch an HTML file?

       How do I automate an HTML form submission?


> How can i push the content of a single html site into $answer ?


The way it says to in the documentation for the function that 
you are using, or the way that it says to in the Perl FAQ.


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas


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

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


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