comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
July 2006
motuwethfrsasuw
     12 26
3456789 27
10111213141516 28
17181920212223 29
24252627282930 30
31       31
2006
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  CPANPLUS on debian headache         


Author: Hobo Salesman
Date: Jul 15, 2006 23:20

Trying to set up cpanplus on debian testing. I find this:

http://debian.pkgs.cpan.org/

So I install cpanp using it... or try to until I'm stopped by a bug
that the changelog for cpanplus on cpan describes as:

"Key 'file' is of invalid type
Turns out it's a bug in Module::Build, reported as
#19741, which creates a 'Build' file when running
'perl Makefile.PL' on a M::B generated Makefile.PL"

Ok... so instead I download cpanplus source from cpan, which is a later
version than the debian package anyway. Unfortunately it complains of a
dozen missing dependencies when running Makefile.PL. It suggests using
the bootstrapped version to install them easily and gives an example
command. I attempt and it fails after a long wait with a 500 server
error (timed out), which I don't understand because an unreachable
server isn't a 500??
Show full article (1.49Kb)
7 Comments
  Re: What is a type error?         


Author: Marshall
Date: Jul 15, 2006 19:36

Joachim Durchholz wrote:
> Marshall schrieb:
>> Joachim Durchholz wrote:
>>> As I said elsewhere, the record has an identity even though it isn't
>>> explicit in SQL.
>>
>> Hmmmm. What can this mean?
>>
>> In general, I feel that "records" are not the right conceptual
>> level to think about.
>
> They are, when it comes to aliasing of mutable data. I think it's
> justified by the fact that aliased mutable data has a galling tendency
> to break abstraction barriers. (More on this on request.)

I can see how pointers, or other kinds of aliasing
(by my more restricted definition) break abstraction barries;
it is hard to abstract something that can change out from
under you uncontrollably.
Show full article (10.59Kb)
2 Comments
  Re: Requirements for Perl on Windows XP?         


Author: A. Sinan Unur
Date: Jul 15, 2006 18:16

"Sisyphus" nomail.afraid.org> wrote in
news:44b98e7d$0$25589$afc38c87@news.optusnet.com.au:
>
> "Teffy" spammotel.com> wrote in message
> news:1153008076.605295.280650@75g2000cwc.googlegroups.com...
>> A. Sinan Unur wrote:
>>>
>>> Please use PPM and solve your problem.
>>>
>>
>>>From the ppm command prompt I typed:

..
>> no pre-built PPM package for either HTML::LinkExtor or SOAP::Lite.
>> Bummer.
>>
>
> Yep - they generally don't provide ppm's for modules that ship as
> standard with ActiveState perl.
Show full article (1.91Kb)
no comments
  Re: Yet another flock question...         


Author: kj
Date: Jul 15, 2006 18:13

OK, I figured it out (in fact I've seen this before elsewhere, but
I'd forgotten): one locks a sentinel file (*not* the log file) that
one expects won't be renamed or deleted. Once we have the lock,
we can test whether the handle to the log remains valid, and make
adjustments if not.

kj

--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
no comments
  FAQ 1.15 Where can I get a list of Larry Wall witticisms?         


Author: PerlFAQ Server
Date: Jul 15, 2006 18:03

This is an excerpt from the latest version perlfaq1.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

1.15: Where can I get a list of Larry Wall witticisms?

(contributed by brian d foy)

Google "larry wall quotes"! You might even try the "I feel lucky"
button. :)

Wikiquote has the witticisms from Larry along with their source,
including his usenet postings and source code comments.

If you want a plain text file, try
http://www.cpan.org/misc/lwall-quotes.txt.gz .

--------------------------------------------------------------------
Show full article (1.44Kb)
no comments
  Re: Requirements for Perl on Windows XP?         


Author: Sisyphus
Date: Jul 15, 2006 17:51

"Teffy" spammotel.com> wrote in message
news:1153008076.605295.280650@75g2000cwc.googlegroups.com...
> A. Sinan Unur wrote:
>>
>> Please use PPM and solve your problem.
>>
>
>>From the ppm command prompt I typed:
>> search linkextor
> and it listed two similar modules (HDML-LinkExtor and
> HTML-SimpleLinkExtor), but not the one I need, HTML-LinkExtor.
>
> I also tried:
>> search soap-lite
> and found similarly named modules, but not exact.
>
> I found two pages at the ActiveState site (http://tinyurl.com/emyq6 and
> http://tinyurl.com/j2v6b) that say there is currently no pre-built PPM
> package for either HTML::LinkExtor or SOAP::Lite. Bummer.
> ...
Show full article (0.80Kb)
no comments
  Re: Requirements for Perl on Windows XP?         


Author: Sisyphus
Date: Jul 15, 2006 17:49

"Teffy" spammotel.com> wrote in message
news:1153009937.412497.259750@b28g2000cwb.googlegroups.com...
> Teffy wrote:
>> Sisyphus wrote:
>>> "Teffy" spammotel.com> wrote in message
>>>
by
>>>> UTIL.
>>>>
>>>
>>> You already have both of those modules in your ActiveState perl build
817.
>>> If "UTIL" is not working, it must be for some other reason.
>>>
>>> Cheers,
>>> Rob
> ...
Show full article (1.71Kb)
no comments
  Parse data structure         


Author: Davidcollins001
Date: Jul 15, 2006 17:03

I am looking to parse data into a complex structure of hashes and
arrays. I have been reading the data structures cookbook on the CPAN
website
(http://search.cpan.org/~nwclark/perl-5.8.7/pod/perldsc.pod#MORE_ELABORATE_RECORDS).
At the bottom they say that it is sometimes easier to have the file as
the data structure that would be used to create the structure in perl.

I was wondering how to do this? I have been playing around trying to
learn how to use complex structures, but I can't figure out how to get
perl to parse code into a hash? I did initially think of placing the
data structure in a file and setting the hash equal to it, but that
doesn't work. am I thinking too simplistic?

This is my data structure that I am playing around with in a separate
file:
Show full article (1.63Kb)
2 Comments
  Re: Requirements for Perl on Windows XP?         


Author: Sisyphus
Date: Jul 15, 2006 16:39

"Teffy" spammotel.com> wrote in message
> HTML::LinkExtor
> (http://search.cpan.org/dist/HTML-Parser/lib/HTML/LinkExtor.pm) and
> SOAP::Lite (http://search.cpan.org/dist/SOAP-Lite/) are required by
> UTIL.
>

You already have both of those modules in your ActiveState perl build 817.
If "UTIL" is not working, it must be for some other reason.

Cheers,
Rob
no comments
  Re: Problem with ([\w ]+?)         


Author: Tad McClellan
Date: Jul 15, 2006 16:22

forwax gmail.com> wrote:
> I've read the link you've givin me

Please also see the Posting Guidelines link that was in his .sig
> and did a search on google to see if

The place to search is http://search.cpan.org, maybe you can find
a module that does most of the heavy lifting for you, such as
HTML::TableExtract, since your data looks to be in an HTML table.
> I could get something more of a beginner aproch to parse a HTML file. I
> want to learn but I have to be honest, I was trying to keep it simple
> so I could comprehend what I was doing.

I would have posted an example using that module if I didn't have to
reverse-engineer what your data looks like (hint).

You can probably get something working by copying some of the code
given in the module's docs, and adding a bit to it.

perldoc HTML::TableExtract

[ snip TOFU ]
Show full article (1.02Kb)
no comments
1 2 3