[28609] in Perl-Users-Digest
Perl-Users Digest, Issue: 9973 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Thu Nov 16 18:06:02 2006
Date: Thu, 16 Nov 2006 15:05:13 -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 Thu, 16 Nov 2006 Volume: 10 Number: 9973
Today's topics:
Avoid Apache Timeout Per Script <mburgoon@gmail.com>
Re: Avoid Apache Timeout Per Script <john@castleamber.com>
Re: Avoid Apache Timeout Per Script <1usa@llenroc.ude.invalid>
Re: Avoid Apache Timeout Per Script xhoster@gmail.com
Re: Avoid Apache Timeout Per Script <mburgoon@gmail.com>
Re: FAQ 7.7 : bug ? <spamtrap@dot-app.org>
Re: FAQ 7.7 : bug ? <uri@stemsystems.com>
How can I create instantiable objects (not classes)? <julien.ollivier@gmail.com>
Re: howto POST and leave site? <nobull67@gmail.com>
Re: Mail sending problem <markusin@yahoo.de>
OT: O'Reilly 'Perl CD Bookshelf' - gone for good? (Richard Williams)
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? <sigzero@gmail.com>
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? <sigzero@gmail.com>
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? <john@castleamber.com>
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? (Randal L. Schwartz)
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? <DJStunks@gmail.com>
Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good? <john@castleamber.com>
Re: Perl Packager, pp, compilation mathieu.lory@gmail.com
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 16 Nov 2006 12:04:11 -0800
From: "PerlGoon" <mburgoon@gmail.com>
Subject: Avoid Apache Timeout Per Script
Message-Id: <1163707451.383418.174870@f16g2000cwb.googlegroups.com>
I have a Perl script on my server that needs to execute without being
terminated by the default Apache timeout. For example when the script
is executed, it needs to hold its connection even if it doesn't return
a response to the client after 2 1/2 minutes (my current default
timeout).
Other than changing the Apache config settings, which I would like to
avoid for obvious security concerns, is there a way to modify the
timeout settings on a per script basis (i.e. executing some command in
the Perl script itself)??
------------------------------
Date: 16 Nov 2006 20:14:11 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: Avoid Apache Timeout Per Script
Message-Id: <Xns987D90D116A15castleamber@130.133.1.4>
"PerlGoon" <mburgoon@gmail.com> wrote:
> I have a Perl script on my server that needs to execute without being
> terminated by the default Apache timeout. For example when the script
> is executed, it needs to hold its connection even if it doesn't return
> a response to the client after 2 1/2 minutes (my current default
> timeout).
>
> Other than changing the Apache config settings, which I would like to
> avoid for obvious security concerns, is there a way to modify the
> timeout settings on a per script basis (i.e. executing some command in
> the Perl script itself)??
I am guessing, but I would say no. The script termination would be
(almost) pointless if there was such a command.
Maybe a solution is: have the page autorefresh itself (or use AJAX), and
let the program dump its state every 2 minutes. When kicked into action
again, it loads it state, and continues.
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
------------------------------
Date: Thu, 16 Nov 2006 20:21:26 GMT
From: "A. Sinan Unur" <1usa@llenroc.ude.invalid>
Subject: Re: Avoid Apache Timeout Per Script
Message-Id: <Xns987D9C5049EA5asu1cornelledu@127.0.0.1>
"PerlGoon" <mburgoon@gmail.com> wrote in news:1163707451.383418.174870
@f16g2000cwb.googlegroups.com:
> I have a Perl script on my server that needs to execute without being
> terminated by the default Apache timeout. For example when the script
> is executed, it needs to hold its connection even if it doesn't return
> a response to the client after 2 1/2 minutes (my current default
> timeout).
>
The following article shows a useful technique for keeping the process
running after the script that has started terminated and watching the
progress:
http://www.stonehenge.com/merlyn/LinuxMag/col39.html
Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
------------------------------
Date: 16 Nov 2006 20:28:53 GMT
From: xhoster@gmail.com
Subject: Re: Avoid Apache Timeout Per Script
Message-Id: <20061116152919.655$45@newsreader.com>
"PerlGoon" <mburgoon@gmail.com> wrote:
> I have a Perl script on my server that needs to execute without being
> terminated by the default Apache timeout. For example when the script
> is executed, it needs to hold its connection even if it doesn't return
> a response to the client after 2 1/2 minutes (my current default
> timeout).
I just do $|=1; and then print a ".\n" every so often. That seems to keep
the browser and/or apache (I don't know which of them is driving my time
out) happy for quite a while.
> Other than changing the Apache config settings, which I would like to
> avoid for obvious security concerns,
The concerns aren't all that obvious to me.
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
------------------------------
Date: 16 Nov 2006 12:47:34 -0800
From: "PerlGoon" <mburgoon@gmail.com>
Subject: Re: Avoid Apache Timeout Per Script
Message-Id: <1163710053.989872.147660@i42g2000cwa.googlegroups.com>
Thank you for all your quick responses.... I may be approaching a
solution to my original task the wrong way.
What I am trying to accomplish is similar to an instant messaging
program....
A computer requests a particular script... is this case we'll call it
Connect.pl. The script executes on the server and opens up a socket on
the server. The script then sits and waits for data to be pushed
through the open socket. When the script receives data through the
socket, it "prints" out that data to the computer that originally
executed the script. It then closes the socket and the script ends.
The problem I am having is that I don't know how long it will take for
data to get pushed through the open socket. It could be 1 min or 5
hours...
If it is longer then 2 1/2 minutes in my case, the server automatically
times out the original request and the connection is broken.
I need some way of having a script that can be executed through port 80
(http) and maintain a connection (without sending a response) for a
significant amount of time... say 5 hours. Clear as mud?
------------------------------
Date: Thu, 16 Nov 2006 15:44:09 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: FAQ 7.7 : bug ?
Message-Id: <m21wo3f7fq.fsf@Sherm-Pendleys-Computer.local>
Ben Morrow <benmorrow@tiscali.co.uk> writes:
> Quoth Sherm Pendley <spamtrap@dot-app.org>:
>>
>> On the other hand, the "although" at the beginning implies that you can't
>> do the same thing in C, which *is* false.
>
> No it's not.
>
>> It can be done, all it takes is
>> some pointer gymnastics:
>>
>> #include <stdio.h>
>>
>> int main() {
>> int foo;
>> int bar;
>>
>> *( 1 ? &foo : &bar ) = 5;
>
> &foo is not an lvalue to begin with: that is, you cannot say
>
> &foo = 3;
>
> The value of the ?: expression is an rvalue; this rvalue then has the *
> operator applied to it, which *does* produce an lvalue. The difference
> from Perl is that even if both branches of the ?: *are* lvalues, for
> instance
>
> ( 1 ? foo : bar )
>
> you cannot then assign to the result.
Yes, I understand that, and I wasn't trying to claim that the two techniques
are identical. The details certainly are different - it's the end result that
is very similar.
The FAQ question says, in essence, "you can do this in Perl but not C", where
the actual situation is more like "Perl allows you to do this directly, where
C requires some extra steps to accomplish the same goal."
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Thu, 16 Nov 2006 16:26:17 -0500
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: FAQ 7.7 : bug ?
Message-Id: <x7r6w3dqx2.fsf@mail.sysarch.com>
>>>>> "SP" == Sherm Pendley <spamtrap@dot-app.org> writes:
SP> The FAQ question says, in essence, "you can do this in Perl but
SP> not C", where the actual situation is more like "Perl allows you
SP> to do this directly, where C requires some extra steps to
SP> accomplish the same goal."
and you can do the same deref trick in perl.
lvalue arrays work with ?:
perl -le '( shift @ARGV ? @x : @y) = 1 .. 2 ; print "x [@x] y [@y]"' 1
x [1 2] y []
perl -le '( shift @ARGV ? @x : @y) = 1 .. 2 ; print "x [@x] y [@y]"' 0
x [] y [1 2]
but push won't take the result of ?: for its array.
perl -le 'push( ( shift @ARGV ? @x : @y), 1 .. 2 ) ; print "x [@x] y [@y]"'
Type of arg 1 to push must be array (not null operation) at -e line 1, near "2 ) "
so use ?: on the array refs and deref it (as in the c pointer example):
perl -le 'push( @{shift @ARGV ? \@x : \@y}, 1 .. 2 ) ; print "x [@x] y [@y]"' 0
x [] y [1 2]
perl -le 'push( @{shift @ARGV ? \@x : \@y}, 1 .. 2 ) ; print "x [@x] y [@y]"' 1
x [1 2] y []
and yes, i know the @ARGV was not needed. i put them it to make it clear
where the boolean was coming from.
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
------------------------------
Date: 16 Nov 2006 11:40:34 -0800
From: "Julien" <julien.ollivier@gmail.com>
Subject: How can I create instantiable objects (not classes)?
Message-Id: <1163706034.795086.141130@m73g2000cwd.googlegroups.com>
Hi,
I have a situation where I would like to "instantiate" an object. Note
that I really mean object (which is an instance of its class), not
class. Hence, a child object inherits not only its parent object's
attributes (and the attribute values of the parent, which will be
common to all child instances), but also gains additional attributes
whose values may be different on a per-object-instance basis. So we
have per-instance data vs. object data, a bit analoguous to having
per-object attributes versus class data (which is common to all objects
of the class).
To do this, I've created a parent class called "Instantiable", which
provides a constructor method "new_instance()". When new_instance() is
called on an Instantiable object, it creates a new object of the class
"Instance". This new Instance object has a reference to it's parent
object (a weak reference, so that destruction of the parent does not
depend on destruction its children). The Instance class uses an
AUTOMETHOD (like AUTOLOAD, see Class::Std) such that if an unknown
method is called on an Instance, this is translated into a call using
the parent object's reference on a method of the same name and
arguments, but with an extra argument inserted to identify which object
instance was initially called. Finally, any sub-class of Instantiable
is expected to provide an "instance_init" method, which is called by
new_instance() when appropriate. The instance_init method can be
CUMULATIVE, so that you can instantiate a hierarchy of Instantiable
objects with one call. When implementing methods, there are now 3
types of method calls i) a class method, ii) an object (class-instance)
method and newly iii) an object-instance method.
The application is in a situation where you have a set of identical
objects (e.g. they are all of class Dog), but need to maintain separate
state information for each (e.g. sleeping, barking...), even though
they also common attributes (e.g. hair colour). Another example are
logic gates or flip-flops where you might have 1000s of identical
gates, but they are in a different state. My particular application
has to do with biochemical states of molecules.
If anyone is interested, I can post my code (it's not quite ready yet,
in a few days...). I would welcome comments and tips, I would like to
know if something equivalent or better already exists. I am not sure
if I am using the correct or best vocabulary for "object-instance". I
am not sure which is the best place to keep the instance data, though
currently I keep in the sub-class of Instantiable and that seems to
work. Finally, I would like to use attributes to designate certain
class attributes as being instance attributes instead of object
attributes (similar to ATTR designation in Class::Std). Also, it might
be reasonable to split instance_init into START_INSTANCE and
BUILD_INSTANCE to follow the standard set build Class::Std.
I've already searched CPAN for something similar but nothing jumps out
at me.
A quick and dirty synopsys:
# class InstantiableObject is a sub-class of Instantiable
$object = InstantiableObject->new();
# instance name is I0, InstantiableObject::instance_init(@args) is
called by new_instance
$object_instance = $object->new_instance("I0", @args);
$object->foo(); # call an object (class instance)
method
$object_instance->bar() # call an object-instance method (translated
to $object->bar("I0") )
##############
package InstantiableObject; {
use base qw(Instantiable);
use Class::Std;
# class methods
sub fee {
my $class = shift;
....
}
# instance methods
sub foo {
my $self = shift;
....
}
# object-instance method
sub bar {
my $self = shift;
my $instance = shift; #
.....
}
}
------------------------------
Date: 16 Nov 2006 11:20:00 -0800
From: "Brian McCauley" <nobull67@gmail.com>
Subject: Re: howto POST and leave site?
Message-Id: <1163704800.456006.302980@k70g2000cwa.googlegroups.com>
On Nov 16, 3:27 am, "botfood" <botf...@yahoo.com> wrote:
> I have used LWP UserAgent a couple times before to POST to a third
> party site, and then parse what I needed out of the response... But
> what I want to do now is set up appropriate fields as if from a FORM,
> and POST them to an external URL, and turn the browser over to that
> site rather than returning the response to my script...
>
> How can this be done the simplest?
Return an HTML document containing a form consiting entirely of hidden
fields and a bit of java script that submits that form as soon as the
page loads.
------------------------------
Date: Thu, 16 Nov 2006 23:15:36 +0000
From: Markusin <markusin@yahoo.de>
Subject: Re: Mail sending problem
Message-Id: <455ce29f$0$19234$4fafbaef@reader4.news.tin.it>
Hi,
i started to debug now and now I get following debug message:
main::(scripts/mymailsender.pl:20):
20: push @args, Server => $server;
DB<1> n
main::(scripts/mymailsender.pl:21):
21: push @args, Auth => [$smtpuser, $smtppasswd];
DB<1> n
main::(scripts/mymailsender.pl:22):
22: push @args, Debug => 1;
DB<1> n
main::(scripts/mymailsender.pl:24):
24: my $mailer = Mail::Mailer->new($type, @args) or die "Kann kein
neues Mail::Mailer-Objekt erzeugen: $!\n";
DB<1> n
main::(scripts/mymailsender.pl:27):
27: $mailer->open({From => $from, To => $to, Subject => $subject})
or die "Kann kein neues Mail::Mailer-Objekt oeffnen: $!\n";
DB<1> n
Invalid argument at /usr/lib/perl5/vendor_perl/5.8.8/Mail/Mailer.pm line
269.
at /usr/lib/perl5/vendor_perl/5.8.8/Mail/Mailer.pm line 269
Mail::Mailer::open('Mail::Mailer::smtp=GLOB(0x83859c0)',
'HASH(0x82e01ec)') called at scripts/mymailsender.pl line 27
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1>
That message does not explain me, what I am doing wrong.
Any idea??
Markus
------------------------------
Date: 16 Nov 2006 19:34:57 GMT
From: rdwillia@anon.example.net (Richard Williams)
Subject: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <ejieh1$ibm$1@newsserver.cilea.it>
Just noticed on the O'Reilly site that the 2004 4th edition of the 'Perl
CD Bookshelf' is out of print (as are all the other Bookshelf titles), and
cdbookshelves.oreilly.com is gone. I guess that means it's just Safari or
dead trees from now on, which seems rather a pity - the Perl CD has been
my main 3rd party reference since version 1, and there are several obvious
new candidate books for a 5th edition. Just wondering if any of the
O'Reilly authors here happen to know if (or why) this is indeed the end of
the line?
Richard.
------------------------------
Date: 16 Nov 2006 11:45:17 -0800
From: "Robert Hicks" <sigzero@gmail.com>
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <1163706317.128485.295110@b28g2000cwb.googlegroups.com>
Richard Williams wrote:
> Just noticed on the O'Reilly site that the 2004 4th edition of the 'Perl
> CD Bookshelf' is out of print (as are all the other Bookshelf titles), and
> cdbookshelves.oreilly.com is gone. I guess that means it's just Safari or
> dead trees from now on, which seems rather a pity - the Perl CD has been
> my main 3rd party reference since version 1, and there are several obvious
> new candidate books for a 5th edition. Just wondering if any of the
> O'Reilly authors here happen to know if (or why) this is indeed the end of
> the line?
>
> Richard.
That really would be a shame. I used my 4th edition ALL the time. It is
such a great resource.
Robert
------------------------------
Date: 16 Nov 2006 11:45:52 -0800
From: "Robert Hicks" <sigzero@gmail.com>
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <1163706352.752396.51580@m7g2000cwm.googlegroups.com>
Robert Hicks wrote:
> Richard Williams wrote:
> > Just noticed on the O'Reilly site that the 2004 4th edition of the 'Perl
> > CD Bookshelf' is out of print (as are all the other Bookshelf titles), and
> > cdbookshelves.oreilly.com is gone. I guess that means it's just Safari or
> > dead trees from now on, which seems rather a pity - the Perl CD has been
> > my main 3rd party reference since version 1, and there are several obvious
> > new candidate books for a 5th edition. Just wondering if any of the
> > O'Reilly authors here happen to know if (or why) this is indeed the end of
> > the line?
> >
> > Richard.
>
> That really would be a shame. I used my 4th edition ALL the time. It is
> such a great resource.
>
> Robert
s/used/use/
------------------------------
Date: 16 Nov 2006 20:08:33 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <Xns987D8FDCD5C07castleamber@130.133.1.4>
rdwillia@anon.example.net (Richard Williams) wrote:
> Just noticed on the O'Reilly site that the 2004 4th edition of the
> 'Perl CD Bookshelf' is out of print (as are all the other Bookshelf
> titles), and cdbookshelves.oreilly.com is gone. I guess that means
> it's just Safari or dead trees from now on, which seems rather a pity
> - the Perl CD has been my main 3rd party reference since version 1,
> and there are several obvious new candidate books for a 5th edition.
> Just wondering if any of the O'Reilly authors here happen to know if
> (or why) this is indeed the end of the line?
I bought ages ago the perl resource kit, which IIRC came with the 3rd or
2nd edition. I browsed a few times through the print outs of module
documentation (nice books), but I think that trying to use perldoc is in
the end smarter. I have the chm version of perl core documentation in my
PDA now, and get more and more used to read from that instead of a book.
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
------------------------------
Date: 16 Nov 2006 12:34:00 -0800
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <864pszt9l3.fsf@blue.stonehenge.com>
>>>>> "Richard" == Richard Williams <rdwillia@anon.example.net> writes:
Richard> Just noticed on the O'Reilly site that the 2004 4th edition of the
Richard> 'Perl CD Bookshelf' is out of print (as are all the other Bookshelf
Richard> titles), and cdbookshelves.oreilly.com is gone. I guess that means
Richard> it's just Safari or dead trees from now on, which seems rather a pity
Richard> - the Perl CD has been my main 3rd party reference since version 1,
Richard> and there are several obvious new candidate books for a 5th
Richard> edition. Just wondering if any of the O'Reilly authors here happen to
Richard> know if (or why) this is indeed the end of the line?
From what I heard, piracy killed them. It's too easy to put the entire books
online from the CD. Safari has a lot of anti-scraping technology in it to
prevent that, so it's safari from now on, not CDs.
Stupid Pirates. Ruining it for all of us.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
--
Posted via a free Usenet account from http://www.teranews.com
------------------------------
Date: 16 Nov 2006 13:22:06 -0800
From: "DJ Stunks" <DJStunks@gmail.com>
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <1163712126.058515.143510@f16g2000cwb.googlegroups.com>
Randal L. Schwartz wrote:
> >>>>> "Richard" == Richard Williams <rdwillia@anon.example.net> writes:
>
> Richard> Just noticed on the O'Reilly site that the 2004 4th edition of the
> Richard> 'Perl CD Bookshelf' is out of print (as are all the other Bookshelf
> Richard> titles), and cdbookshelves.oreilly.com is gone.
>
> From what I heard, piracy killed them. It's too easy to put the entire books
> online from the CD.
> <snip>
> Stupid Pirates. Ruining it for all of us.
hmm, that's funny, that's not the conclusion I reached...
s/Pirates/overzealous publishers/
you were still selling books despite the websites, were you not?
-jp
------------------------------
Date: 16 Nov 2006 21:36:54 GMT
From: John Bokma <john@castleamber.com>
Subject: Re: OT: O'Reilly 'Perl CD Bookshelf' - gone for good?
Message-Id: <Xns987D9ED738061castleamber@130.133.1.4>
merlyn@stonehenge.com (Randal L. Schwartz) wrote:
>>>>>> "Richard" == Richard Williams <rdwillia@anon.example.net> writes:
>
> Richard> Just noticed on the O'Reilly site that the 2004 4th edition
> of the Richard> 'Perl CD Bookshelf' is out of print (as are all the
> other Bookshelf Richard> titles), and cdbookshelves.oreilly.com is
> gone. I guess that means Richard> it's just Safari or dead trees from
> now on, which seems rather a pity Richard> - the Perl CD has been my
> main 3rd party reference since version 1, Richard> and there are
> several obvious new candidate books for a 5th Richard> edition. Just
> wondering if any of the O'Reilly authors here happen to Richard> know
> if (or why) this is indeed the end of the line?
>
> From what I heard, piracy killed them. It's too easy to put the
> entire books online from the CD.
Almost every O'Reilly book is either available in CHM or PDF format,
pirated. One can download 4-9 GB of books using bittorrent in the blink
of an eye. I am quite sure that some books are leaked when send to the
printing departement, or even before.
So it sounds to me like a non-argument.
> Safari has a lot of anti-scraping
> technology in it to prevent that, so it's safari from now on, not CDs.
>
> Stupid Pirates. Ruining it for all of us.
Maybe a better distribution method should be thought up? It's like
saying that the stupid bookpress took away work from the monks. Mind, I
am not saying that authors shouldn't be paid for their work. But if one
can download 500 books in a few hours that's a huge temptation. Again, I
am not saying that piracy is right.
I would love to buy DRM free books online in either chm or pdf format
and pay with paypal hassle free. And yes, the keyword here is often
hassle free. I recently bought a PDA, and checked out some ebook sites.
I am not going to install Adobe PDF again on my Pocket PC. It's a joke
compared to xpdf. But I am afraid xpdf is not going to handle all those
fancy anti-piracy measurements. It's beyond me why people keep investing
money in stuff like that, when people who want to have it rights free
already have it, often before the site makes it public available.
Also, like the book press made it possible to have your own book printed
instead of hiring 20 monks, or a digital camera made it possible to make
portraits of your family members instead of hiring a painter, authors
should consider going with the flow. The only other options are pulling
your hairs out or start doing something else.
I have published a little on my own site, yet the income from
advertisements is more then sufficient to pay the rent.
Finally, "all of us": who's us? There are people who can't afford to pay
60 USD for a book (I guess that's what the local price is here for a 45
USD book). You might not consider it fair, but is it fair to get paid 8
times less, and sucked dry by luxery that costs 50-120% more? (Talking
in general about the situation in Mexico).
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
------------------------------
Date: 16 Nov 2006 14:01:18 -0800
From: mathieu.lory@gmail.com
Subject: Re: Perl Packager, pp, compilation
Message-Id: <1163714478.031240.187720@m7g2000cwm.googlegroups.com>
Ben Morrow a =E9crit :
> Did you include *all* the required libraries? On my system, a program
> which links libgtkembedmoz.so needs at least
>
> -lgtkembedmoz -lxpcom -lplds4 -lplc4 -lnspr4 -lgtk-x11-2.0
> -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
> -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
Thanks to your help, I've included them now ; I don't have my previous
warning about versions, but... My app crash at startup. I thinks it's a
problem with gtk or with the compilation, because app works fine under
computer where it compile from.
I haven't any error message in the console, only a dialog box like this
(but in french) : "application has quit, you can inform developpers or
restart application now ..."
> that are definitely part of the operating system and which it would be a
> very bad idea to attempt to put in a package.
If it's a bad idea...
> sentence is not terribly clear, so if English is not your native tongue
> I'm not surprised you misunderstood it :).
No, it's not my mother tongue :-) didn't you guess it ? :-)
------------------------------
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 9973
***************************************