From josh at agliodbs.com Fri Dec 5 13:44:51 2008
From: josh at agliodbs.com (Josh Berkus)
Date: Fri, 05 Dec 2008 13:44:51 -0800
Subject: [sf-perl] First Bay Area Interpreted Languages Holiday Party!
In-Reply-To:
References:
Message-ID: <4939A0D3.9050003@agliodbs.com>
Folks,
The party is planned! Please forward to other appropriate Bay Area user
groups.
=========================================
When: Tuesday, December 16th, 7pm to ???
Where: Berkeley Yacht Club
1 Seawall Drive
Berkeley Marina Berkeley, CA 94710
(venue sponsor: PinPoint Research)
What: party, no-host bar, pizza, potluck food, fundraising auction,
hacking, schmoozing.
Who: all users & hackers of Perl, SQL, PHP, Ruby, shell, XML, HTML, Lua,
LiSP, Haskell, Erlang, TeX, 4GL, Python, JavaScript, etc.
... you!
More details, and RSVP, at:
http://postgresql.meetup.com/1/calendar/9191101
=========================================
From josh at agliodbs.com Fri Dec 5 14:00:01 2008
From: josh at agliodbs.com (Josh Berkus)
Date: Fri, 05 Dec 2008 14:00:01 -0800
Subject: [sf-perl] [sfpug] First Bay Area Interpreted Languages Holiday
Party!
In-Reply-To: <4939A317.7070505@pinpointresearch.com>
References:
<4939A0D3.9050003@agliodbs.com>
<4939A317.7070505@pinpointresearch.com>
Message-ID: <4939A461.9030104@agliodbs.com>
Steve Crawford wrote:
> Josh Berkus wrote:
>> Folks,
>>
>> The party is planned! Please forward to other appropriate Bay Area
>> user groups.
>>
> Eeek! More the merrier as long as we don't overflow. What's your
> high-end estimate? We should be good up to about 100.
We can cap it at 100. I'll do so.
--Josh
From fred at redhotpenguin.com Sun Dec 7 21:01:54 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Sun, 7 Dec 2008 21:01:54 -0800
Subject: [sf-perl] Fwd: Perl is Alive!
In-Reply-To: <28807375.1587341228710315096.JavaMail.servlet@kundenserver>
References: <28807375.1587341228710315096.JavaMail.servlet@kundenserver>
Message-ID:
Saw this and made me smile. A much better meme than the 'Perl is
dying' one that has been going around.
---------- Forwarded message ----------
From:
Date: Sun, Dec 7, 2008 at 8:25 PM
Subject: Perl is Alive!
To: london.pm at london.pm.org
and kicking!
Perl 5 doesn't need to be hip and new (like some people seem to think
python and ruby are), Perl 6 will fix that
Perl 5 is itself growing and evolving, bridging the gap to Perl 6
Parrot v1 is soon to hit the shelves
Rakudo should be soon to follow
The dusty old conservatives of the Perl community will slowly accept
Perl 6 because it is a better *Perl*
LPM seems to be slowly becoming more friendly to new comers (even Matt
Trout was talking at LPW about new people getting involved and getting
friendly support from the community)
Newer groups like Italy, B&BPM, etc, seem to be going from strength to strength
A lot of new (and old) ideas are coming up... Some people will make
attempts to take them forward... After all once it's started, you
never know who'll help or finish it...
Perl itself doesn't need to make changes to attract new programmers.
Perl is great, that's why we are all here :) All we need is to make
new people try coding Perl. Perl does the rest. Looking to hard at
other languages and trying to pull programmers from them is futile
(unless you are talking about ones like VB). The future is with the
youth, and the solution is simple, as Tony said "Education, Education,
Education!".
Perlbloke
From fred at redhotpenguin.com Wed Dec 10 12:26:21 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Wed, 10 Dec 2008 12:26:21 -0800
Subject: [sf-perl] Fwd: "Higher-Order Perl" now available for free download
In-Reply-To: <20081210171340.1278.qmail@plover.com>
References: <20081210171340.1278.qmail@plover.com>
Message-ID:
FYI, HOP available for DL.
Also a reminder that the holiday party is next Tuesday, 12/16.
I would encourage everybody to RSVP via the SF Postgres meetup website
at http://postgresql.meetup.com/1/calendar/9191101/ (even if you don't
use Postgresql)
---------- Forwarded message ----------
From: Mark Dominus
Date: Wed, Dec 10, 2008 at 9:13 AM
Subject: "Higher-Order Perl" now available for free download
To: phl at lists.pm.org
In case you missed the news, my book "Higher-Order Perl" is now
available for free download from the web site.
The complete text is available at
http://hop.perl.plover.com/book/
More information about the book is available at
http://hop.perl.plover.com/
Also, if you thought you were on the book announcement mailing list,
but you didn't get the announcement I sent to the list yesterday, then
you are not on the list.
-
**Majordomo list services provided by PANIX **
**To Unsubscribe, send "unsubscribe phl" to majordomo at lists.pm.org**
From matt at lanier.org Fri Dec 12 10:43:49 2008
From: matt at lanier.org (Matthew Lanier)
Date: Fri, 12 Dec 2008 10:43:49 -0800 (PST)
Subject: [sf-perl] Apache::Resource configuration
Message-ID:
hey folks-
i'm working on a mod_perl 1.3.x installation that uses Apache::Resource (I
know, there are better modules available. that is not the thrust of this
question).
The docs are unclear where the units for setting PERL_RLIMIT_AS is
MegaBytes or Bytes, and I'm seeing application behavior that is unclear on
that matter, as well.
I don't have access to prior code bases that used this module, so I'm
wondering if anyone here recalls.
thanks-
m@
--
Matthew D. P. K. Strelchun-Lanier
matt at lanier.org
http://www.bearlywornpacifica.com
From fred at redhotpenguin.com Fri Dec 12 12:12:32 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Fri, 12 Dec 2008 12:12:32 -0800
Subject: [sf-perl] Fwd: [Pdx-pm] Perl5 is alive
In-Reply-To: <1229112249.7198.75.camel@jd-laptop.pragmaticzealot.org>
References: <1229112249.7198.75.camel@jd-laptop.pragmaticzealot.org>
Message-ID:
Not the best video quality (aside from the streaming issues that seem
to plague google video), but worth the time to watch. Best viewed in
original size.
---------- Forwarded message ----------
From: Joshua D. Drake
Date: Fri, Dec 12, 2008 at 12:04 PM
Subject: [Pdx-pm] Perl5 is alive
To: pdx-pm-list at pm.org
Hello,
Matt S. Trout (of Catalyst/DBIx::Class fame) gave a talk at PostgreSQL
Conference West in Portland on why Perl5 is alive. We just got the video
up if people are interested:
http://www.postgresqlconference.org/2008/west/talks/#perl5_is_alive
Sincerely,
Joshua D. Drake
--
PostgreSQL
Consulting, Development, Support, Training
503-667-4564 - http://www.commandprompt.com/
The PostgreSQL Company, serving since 1997
_______________________________________________
Pdx-pm-list mailing list
Pdx-pm-list at pm.org
http://mail.pm.org/mailman/listinfo/pdx-pm-list
From fred at redhotpenguin.com Fri Dec 12 13:27:42 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Fri, 12 Dec 2008 13:27:42 -0800
Subject: [sf-perl] Apache::Resource configuration
In-Reply-To:
References:
Message-ID:
On Fri, Dec 12, 2008 at 10:43 AM, Matthew Lanier wrote:
> hey folks-
>
> i'm working on a mod_perl 1.3.x installation that uses Apache::Resource (I
> know, there are better modules available. that is not the thrust of this
> question).
>
> The docs are unclear where the units for setting PERL_RLIMIT_AS is MegaBytes
> or Bytes, and I'm seeing application behavior that is unclear on that
> matter, as well.
I haven't used A::Resource but took a peek at the source and it seems to be MB
sub DEFAULT_RLIMIT_DATA () { 64 } #data (memory) size in MB
sub DEFAULT_RLIMIT_AS () { 64 } #address space (memory) size in MB
>
> I don't have access to prior code bases that used this module, so I'm
> wondering if anyone here recalls.
>
> thanks-
>
> m@
>
> --
>
> Matthew D. P. K. Strelchun-Lanier
> matt at lanier.org
> http://www.bearlywornpacifica.com
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
From rdm at cfcl.com Fri Dec 12 15:43:54 2008
From: rdm at cfcl.com (Rich Morin)
Date: Fri, 12 Dec 2008 15:43:54 -0800
Subject: [sf-perl] Fwd: [Pdx-pm] Perl5 is alive
In-Reply-To:
References: <1229112249.7198.75.camel@jd-laptop.pragmaticzealot.org>
Message-ID:
At 12:12 -0800 12/12/08, Fred Moyer wrote:
> Not the best video quality ...
I found the audio to be totally incomprehensible.
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm at cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
From nheller at silcon.com Sat Dec 13 12:24:03 2008
From: nheller at silcon.com (Neil Heller)
Date: Sat, 13 Dec 2008 12:24:03 -0800
Subject: [sf-perl] Fwd: [Pdx-pm] Perl5 is alive
In-Reply-To:
References: <1229112249.7198.75.camel@jd-laptop.pragmaticzealot.org>
Message-ID: <000901c95d60$be2a5a20$3a7f0e60$@com>
Was he speaking English?
I couldn't tell.
Neil Heller
-----Original Message-----
From: sanfrancisco-pm-bounces+nheller=silcon.com at pm.org
[mailto:sanfrancisco-pm-bounces+nheller=silcon.com at pm.org] On Behalf Of Rich
Morin
Sent: Friday, December 12, 2008 3:44 PM
To: San Francisco Perl Mongers User Group
Subject: Re: [sf-perl] Fwd: [Pdx-pm] Perl5 is alive
At 12:12 -0800 12/12/08, Fred Moyer wrote:
> Not the best video quality ...
I found the audio to be totally incomprehensible.
-r
--
http://www.cfcl.com/rdm Rich Morin
http://www.cfcl.com/rdm/resume rdm at cfcl.com
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development
_______________________________________________
SanFrancisco-pm mailing list
SanFrancisco-pm at pm.org
http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
From fred at redhotpenguin.com Sat Dec 13 13:55:07 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Sat, 13 Dec 2008 13:55:07 -0800
Subject: [sf-perl] Clay Shirky on Perl/Linux longevity
Message-ID:
http://www.youtube.com/watch?v=Xe1TZaElTAs
From fred at redhotpenguin.com Sat Dec 13 15:56:42 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Sat, 13 Dec 2008 15:56:42 -0800
Subject: [sf-perl] [memcached] Dormando on Facebook memcached
Message-ID:
Not completely Perl here but I think enough people on this list use
Perl with memcached and have tried varieties of client libraries that
this is relevant enough to post.
http://twitter.com/dormando/status/1056006947
http://groups.google.com/group/memcached/browse_thread/thread/1c5833a50df4cea1
From extasia at extasia.org Sat Dec 13 23:25:00 2008
From: extasia at extasia.org (David Alban)
Date: Sat, 13 Dec 2008 23:25:00 -0800
Subject: [sf-perl] youtube: larry wall speaking about perl 6 at google
Message-ID: <4c714a9c0812132325s2f0dda5hc324ab1df4277a48@mail.gmail.com>
when you have a spare fifty seven minutes, you might consider watching:
http://www.youtube.com/watch?v=JzIWdJVP-wo
--
Live in a world of your own, but always welcome visitors.
From josh at agliodbs.com Mon Dec 15 10:40:14 2008
From: josh at agliodbs.com (Josh Berkus)
Date: Mon, 15 Dec 2008 10:40:14 -0800
Subject: [sf-perl] Reminder: party tommorrow, RSVP please
In-Reply-To: <4939A317.7070505@pinpointresearch.com>
References:
<4939A0D3.9050003@agliodbs.com>
<4939A317.7070505@pinpointresearch.com>
Message-ID: <4946A48E.3000807@agliodbs.com>
Fellow geeks,
Just a reminder, we have a party tommorrow. Please RSVP if you're going
to be there; the PostgreSQL community is sponsoring some finger food,
and I need to know how much to buy.
Info & RSVP:
http://postgresql.meetup.com/1/calendar/9191101/
--Josh Berkus
From fred at redhotpenguin.com Mon Dec 15 13:16:41 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Mon, 15 Dec 2008 13:16:41 -0800
Subject: [sf-perl] [sfpug] Reminder: party tommorrow, RSVP please
In-Reply-To: <4946A48E.3000807@agliodbs.com>
References:
<4939A0D3.9050003@agliodbs.com>
<4939A317.7070505@pinpointresearch.com>
<4946A48E.3000807@agliodbs.com>
Message-ID:
On Mon, Dec 15, 2008 at 10:40 AM, Josh Berkus wrote:
> Fellow geeks,
>
> Just a reminder, we have a party tommorrow. Please RSVP if you're going to
> be there; the PostgreSQL community is sponsoring some finger food, and I
> need to know how much to buy.
Red Hot Penguin will be bringing some items for the auction - blank
blu-ray dvds and wireless repeaters. So RSVP!
>
> Info & RSVP:
> http://postgresql.meetup.com/1/calendar/9191101/
>
> --Josh Berkus
>
>
From josh at agliodbs.com Mon Dec 15 13:25:52 2008
From: josh at agliodbs.com (Josh Berkus)
Date: Mon, 15 Dec 2008 13:25:52 -0800
Subject: [sf-perl] [sfpug] Reminder: party tommorrow, RSVP please
In-Reply-To:
References:
<4939A0D3.9050003@agliodbs.com>
<4939A317.7070505@pinpointresearch.com>
<4946A48E.3000807@agliodbs.com>
Message-ID: <4946CB60.3000609@agliodbs.com>
All,
BTW, there's something wierd happening with the party and a "waiting
list". There is no waiting list; if you RSVP, you're in.
Have *sigh* filed a bug with meetup.
--Josh
From not.com at gmail.com Tue Dec 16 14:04:50 2008
From: not.com at gmail.com (yary)
Date: Tue, 16 Dec 2008 14:04:50 -0800
Subject: [sf-perl] Ride from BART to tonight's gathering?
Message-ID: <75cbfa570812161404l7da2ae05j5264973604796217@mail.gmail.com>
Hello all-
wondering if anyone going to tonight's pan-group party is driving, and
will be passing by an East Bay BART station. I'm leaving from work in
Pleasanton via public transit, and the last leg of the trip (AC
Transit bus #9 from downtown Berkeley stop) adds about 40 minutes...
If you wanna help me out with a ride, I could disembark at any East
Bay BART stop and give you the expected arrival time from the
schedule.
Email me personally here (not.com at gmail.com) and thanks in advance!
-y
From not.com at gmail.com Tue Dec 16 17:20:37 2008
From: not.com at gmail.com (yary)
Date: Tue, 16 Dec 2008 17:20:37 -0800
Subject: [sf-perl] last request for ride
Message-ID: <75cbfa570812161720m5eaa20acxc8e6e1e1a03da16d@mail.gmail.com>
No one emailed me, and it's about time for me to catch the train. If
anyone can & wants to help me get from an east bay BART station to the
marina for tonight's shindig, call my cell phone +1 415 517 3614
thanks!
From wsanders at pacificwebdesign.org Thu Dec 18 12:29:19 2008
From: wsanders at pacificwebdesign.org (Walt Sanders)
Date: Thu, 18 Dec 2008 12:29:19 -0800
Subject: [sf-perl] Perl host porting
Message-ID: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
Am I the only one finding Perl porting to different web hosts a problem?
I have one rather large website with about 400 pages, containing much
user interaction handled with probably 50 or 60 perl.cgi programs
scattered about in many directories. It all works beautifully.
I recently thought to move the entire site to a different web host
(for speed, cost and developer services improvements). I actually
thought I could just move it all and tweak a few paths possibly and be
done. So I tried putting up a few directories to see if everything
will work ok. Aaaaugh! Perl won't work.
First I find that permission must be precisely 755 instead of the
previous 777 (this baffles me). Then only .pl instead of .cgi. or
both. Ok, irritating, but not a big problem (I didn't ask them to
reset it). But then only some of the perl programs would run.
Investigating, I start finding oddities like: program A works, program
B doesn't. I replace 100% of the content of program A with 100% of
the content of program B, and program A then works fine. I then
rename program A to program B and it works fine. OK, that one is
fixed (not a clue as to why). Hmmmmm. If I take the original program
B and simply change the name to program A (gotta work, right?), it
doesn't work.
I could list a dozen similarly silly tweaks that eventually got about
half of the perl programs working, none of them having to do with the
programming itself! I then tried to port to a 3rd large web host,
thinking the 2nd host had some strange settings on its Apache server.
There I found the same problem of very curious idiosyncrasies and
curious illogical tweaks to make most of the Perl work, albeit
different ones and none of it sensible.
I'm wondering if I live alone in my own little world of "stay the hell
away from perl if you want a peaceful life". On the first host, I had
found perl to be wonderfully easy to program, totally reliable, and
generally rock solid in the field. This is a sad development. Can
anyone enlighten me a little as to what is going on?
I don't really want to change languages, Walt.
From dan at peeron.com Thu Dec 18 12:34:31 2008
From: dan at peeron.com (Dan Boger)
Date: Thu, 18 Dec 2008 12:34:31 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
Message-ID:
Aside from mismatch module versions, and paths, it should be fairly simple
to port a script from host a to b. My guess is that the web server
configuration is different between the two hosts though. Sounds like in
your old host, the extension for execcgi was both .pl and .cgi, while on the
new one it's only cgi?
I'm sure there are other differences, I suggest you compare the two configs.
Dan
On Thu, Dec 18, 2008 at 12:29 PM, Walt Sanders <
wsanders at pacificwebdesign.org> wrote:
> Am I the only one finding Perl porting to different web hosts a problem?
>
> I have one rather large website with about 400 pages, containing much user
> interaction handled with probably 50 or 60 perl.cgi programs scattered about
> in many directories. It all works beautifully.
>
> I recently thought to move the entire site to a different web host (for
> speed, cost and developer services improvements). I actually thought I
> could just move it all and tweak a few paths possibly and be done. So I
> tried putting up a few directories to see if everything will work ok.
> Aaaaugh! Perl won't work.
>
> First I find that permission must be precisely 755 instead of the previous
> 777 (this baffles me). Then only .pl instead of .cgi. or both. Ok,
> irritating, but not a big problem (I didn't ask them to reset it). But then
> only some of the perl programs would run.
>
> Investigating, I start finding oddities like: program A works, program B
> doesn't. I replace 100% of the content of program A with 100% of the
> content of program B, and program A then works fine. I then rename program
> A to program B and it works fine. OK, that one is fixed (not a clue as to
> why). Hmmmmm. If I take the original program B and simply change the name
> to program A (gotta work, right?), it doesn't work.
>
> I could list a dozen similarly silly tweaks that eventually got about half
> of the perl programs working, none of them having to do with the programming
> itself! I then tried to port to a 3rd large web host, thinking the 2nd host
> had some strange settings on its Apache server. There I found the same
> problem of very curious idiosyncrasies and curious illogical tweaks to make
> most of the Perl work, albeit different ones and none of it sensible.
>
> I'm wondering if I live alone in my own little world of "stay the hell away
> from perl if you want a peaceful life". On the first host, I had found perl
> to be wonderfully easy to program, totally reliable, and generally rock
> solid in the field. This is a sad development. Can anyone enlighten me a
> little as to what is going on?
>
> I don't really want to change languages, Walt.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
--
Dan Boger
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From fred at redhotpenguin.com Thu Dec 18 12:45:24 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Thu, 18 Dec 2008 12:45:24 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
Message-ID:
On Thu, Dec 18, 2008 at 12:29 PM, Walt Sanders
wrote:
> Am I the only one finding Perl porting to different web hosts a problem?
...
> I'm wondering if I live alone in my own little world of "stay the hell away
> from perl if you want a peaceful life". On the first host, I had found perl
I would suggest an alternative world of "stay away from shared hosting
if you want a peaceful life". Perl runs just fine, but with shared
hosting you never know what you are getting behind the scenes.
Linux based virtual private servers (VPS) are pretty cheap to host on
nowadays, and they give you full control of the web server. Which not
everyone needs, but it sounds like you have gotten to that power user
stage where you want control over how the web server is setup.
> to be wonderfully easy to program, totally reliable, and generally rock
> solid in the field. This is a sad development. Can anyone enlighten me a
> little as to what is going on?
>
> I don't really want to change languages, Walt.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
From biztos at mac.com Thu Dec 18 12:56:08 2008
From: biztos at mac.com (Kevin Frost)
Date: Thu, 18 Dec 2008 12:56:08 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To:
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
Message-ID: <909E5347-E63C-41EE-A4E6-1AE16844DF6B@mac.com>
Are you using shared hosting? Sounds like it based on the permission
issue, which reminds me of the good/bad old days of suidperl.
If so you should consider using a virtual private server. Then you
get your setup right once, document that for yourself, and you're set
long into the future. Plus you can move up to bigger things, Perl-
wise, without having to change your existing stuff, for thou art root.
VPS options are really cheap these days, and for as big a site as you
have it's best to be in full control. I use Vpslink and also Amazon,
I'm sure others would have recommendations too.
Anyway the 777 thing is usually done to prevent other users modifying
or erasing your files. So it's actually a good thing, and your
previous host was probably too lax.
You may be able to change the CGI file extensions locally
with .htaccess, eg allow .cgi for just your stuff even if globally
they look for .pl.
And yeah, porting between shared hosts is a pain, and not just for
perl. Every hosting company has its own beautiful snowflake of a
"standard" configuration.
-- frosty
(via iphone)
On Dec 18, 2008, at 12:34 PM, Dan Boger wrote:
> Aside from mismatch module versions, and paths, it should be fairly
> simple to port a script from host a to b. My guess is that the web
> server configuration is different between the two hosts though.
> Sounds like in your old host, the extension for execcgi was both .pl
> and .cgi, while on the new one it's only cgi?
>
> I'm sure there are other differences, I suggest you compare the two
> configs.
>
> Dan
>
> On Thu, Dec 18, 2008 at 12:29 PM, Walt Sanders > wrote:
> Am I the only one finding Perl porting to different web hosts a
> problem?
>
> I have one rather large website with about 400 pages, containing
> much user interaction handled with probably 50 or 60 perl.cgi
> programs scattered about in many directories. It all works
> beautifully.
>
> I recently thought to move the entire site to a different web host
> (for speed, cost and developer services improvements). I actually
> thought I could just move it all and tweak a few paths possibly and
> be done. So I tried putting up a few directories to see if
> everything will work ok. Aaaaugh! Perl won't work.
>
> First I find that permission must be precisely 755 instead of the
> previous 777 (this baffles me). Then only .pl instead of .cgi. or
> both. Ok, irritating, but not a big problem (I didn't ask them to
> reset it). But then only some of the perl programs would run.
>
> Investigating, I start finding oddities like: program A works,
> program B doesn't. I replace 100% of the content of program A with
> 100% of the content of program B, and program A then works fine. I
> then rename program A to program B and it works fine. OK, that one
> is fixed (not a clue as to why). Hmmmmm. If I take the original
> program B and simply change the name to program A (gotta work,
> right?), it doesn't work.
>
> I could list a dozen similarly silly tweaks that eventually got
> about half of the perl programs working, none of them having to do
> with the programming itself! I then tried to port to a 3rd large
> web host, thinking the 2nd host had some strange settings on its
> Apache server. There I found the same problem of very curious
> idiosyncrasies and curious illogical tweaks to make most of the Perl
> work, albeit different ones and none of it sensible.
>
> I'm wondering if I live alone in my own little world of "stay the
> hell away from perl if you want a peaceful life". On the first
> host, I had found perl to be wonderfully easy to program, totally
> reliable, and generally rock solid in the field. This is a sad
> development. Can anyone enlighten me a little as to what is going on?
>
> I don't really want to change languages, Walt.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
>
>
> --
> Dan Boger
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From sphink at gmail.com Thu Dec 18 13:32:15 2008
From: sphink at gmail.com (Steve Fink)
Date: Thu, 18 Dec 2008 13:32:15 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
Message-ID: <7d7f2e8c0812181332k2fedb74fv51d138f37d921f9f@mail.gmail.com>
None of those things sound like they're related to using Perl. My
guess is that you'd have exactly the same problems regardless of the
language used.
You are using Perl and you are experiencing pain.
http://en.wikipedia.org/wiki/Correlation_does_not_imply_causation
From pm.org at daveola.com Thu Dec 18 13:44:45 2008
From: pm.org at daveola.com (David Ljung Madison)
Date: Thu, 18 Dec 2008 13:44:45 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To:
References:
Message-ID:
> Investigating, I start finding oddities like: program A works, program
> B doesn't.
You'd be much better off watching the httpd error logs
(consider "tail -f") while trying to load these pages, that
will probably tell you most of what is (or is not) going on.
And I concur with Steve - you're complaining about httpd
setup issues (which are a gnarly beast, yes) and dumping
the blame in perhaps the wrong place.
Dave
---------------------------------------------------------------------------
Dave Ljung Madison http://GetDave.com/ 415 341-5555
------------ "Preferred over shiny round objects 2-to-1" ------------------
From fred at redhotpenguin.com Thu Dec 18 13:52:53 2008
From: fred at redhotpenguin.com (Fred Moyer)
Date: Thu, 18 Dec 2008 13:52:53 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <558451AC-EA0B-4A30-A86B-D73DADCC67E2@pacificwebdesign.org>
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
<558451AC-EA0B-4A30-A86B-D73DADCC67E2@pacificwebdesign.org>
Message-ID:
One alternative would be to find a really good hosting company.
Pairnic.com is a big supporter of Perl. I can see the viewpoint of
totally handing off the application to the hosting company. There is
one ruby on rails hosting company I saw the other day; that is all
they do, so they are experts at hosting ROR apps. I don't know if
Pairnic.com does something similar, but there has got to be a perl
friendly hosting company out there that really knows their stuff.
On Thu, Dec 18, 2008 at 1:41 PM, Walt Sanders
wrote:
> You are probably right, although I've tried to avoid having to set up my own
> server. Don't really want to spend the time learning that game. But, it
> maybe the only way go. Thanks for the thoughts, Walt.
>
>
>
> On Thursday, at , Fred Moyer wrote:
>
>> On Thu, Dec 18, 2008 at 12:29 PM, Walt Sanders
>> wrote:
>>>
>>> Am I the only one finding Perl porting to different web hosts a problem?
>>
>> ...
>>>
>>> I'm wondering if I live alone in my own little world of "stay the hell
>>> away
>>> from perl if you want a peaceful life". On the first host, I had found
>>> perl
>>
>> I would suggest an alternative world of "stay away from shared hosting
>> if you want a peaceful life". Perl runs just fine, but with shared
>> hosting you never know what you are getting behind the scenes.
>>
>> Linux based virtual private servers (VPS) are pretty cheap to host on
>> nowadays, and they give you full control of the web server. Which not
>> everyone needs, but it sounds like you have gotten to that power user
>> stage where you want control over how the web server is setup.
>>
>>
>>> to be wonderfully easy to program, totally reliable, and generally rock
>>> solid in the field. This is a sad development. Can anyone enlighten me
>>> a
>>> little as to what is going on?
>>>
>>> I don't really want to change languages, Walt.
>>> _______________________________________________
>>> SanFrancisco-pm mailing list
>>> SanFrancisco-pm at pm.org
>>> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>>>
>
>
From andy at petdance.com Thu Dec 18 13:55:11 2008
From: andy at petdance.com (Andy Lester)
Date: Thu, 18 Dec 2008 15:55:11 -0600
Subject: [sf-perl] Perl host porting
In-Reply-To:
References: <71158864-467F-4085-8313-15ECF0C9B4E8@pacificwebdesign.org>
<558451AC-EA0B-4A30-A86B-D73DADCC67E2@pacificwebdesign.org>
Message-ID: <07643A95-D39B-429E-86BF-8067B7B7DD6E@petdance.com>
On Dec 18, 2008, at 3:52 PM, Fred Moyer wrote:
> One alternative would be to find a really good hosting company.
> Pairnic.com is a big supporter of Perl.
pairnic.com is the domain registry company. For web hosting, you want
pair.com. Same guys, but I don't want anyone to go searching
pairnic.com for hosting...
xoxo,
Andy
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
From wsanders at pacificwebdesign.org Thu Dec 18 14:40:53 2008
From: wsanders at pacificwebdesign.org (Walt Sanders)
Date: Thu, 18 Dec 2008 14:40:53 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To:
References:
Message-ID: <92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
True, not really bitching about Perl, but about hosting. Also,
wondering if others have had a similar problem, or does no one ever
change hosts, or is it just me?
On Thursday, at , David Ljung Madison wrote:
>> Investigating, I start finding oddities like: program A works,
>> program
>> B doesn't.
>
> You'd be much better off watching the httpd error logs
> (consider "tail -f") while trying to load these pages, that
> will probably tell you most of what is (or is not) going on.
>
> And I concur with Steve - you're complaining about httpd
> setup issues (which are a gnarly beast, yes) and dumping
> the blame in perhaps the wrong place.
>
> Dave
>
> ---------------------------------------------------------------------------
> Dave Ljung Madison http://GetDave.com/ 415
> 341-5555
> ------------ "Preferred over shiny round objects 2-to-1"
> ------------------
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
From ddascalescu at gmail.com Thu Dec 18 20:55:08 2008
From: ddascalescu at gmail.com (Dan Dascalescu)
Date: Thu, 18 Dec 2008 20:55:08 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
Message-ID: <3561cc6d0812182055v3ea9f953l166c499b3c2c5195@mail.gmail.com>
Since CGI is somewhat of the past (let's not start a religious war
here), I can only speak from a Perl/Catalyst perspective: I've never
had issues porting a Catalyst application from one VPS to another.
At http://dev.catalyst.perl.org/wiki/hosting/, we're reviewing
Catalyst-friendly hosts. Pair is extremely expensive, and everyone
loves Slicehost and especially Linode. You get a rock-solid VPS with
360MB of RAM for $20/month, and a bit less if you buy a full year in
advance.
Dan
From wsanders at pacificwebdesign.org Fri Dec 19 09:21:49 2008
From: wsanders at pacificwebdesign.org (Walt Sanders)
Date: Fri, 19 Dec 2008 09:21:49 -0800
Subject: [sf-perl] Perl host porting
In-Reply-To: <3561cc6d0812182055v3ea9f953l166c499b3c2c5195@mail.gmail.com>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<3561cc6d0812182055v3ea9f953l166c499b3c2c5195@mail.gmail.com>
Message-ID:
Dan, Good thoughts. I will explore these things and Linode
especially. Thanks, Walt.
On Thursday, at , Dan Dascalescu wrote:
> Since CGI is somewhat of the past (let's not start a religious war
> here), I can only speak from a Perl/Catalyst perspective: I've never
> had issues porting a Catalyst application from one VPS to another.
>
> At http://dev.catalyst.perl.org/wiki/hosting/, we're reviewing
> Catalyst-friendly hosts. Pair is extremely expensive, and everyone
> loves Slicehost and especially Linode. You get a rock-solid VPS with
> 360MB of RAM for $20/month, and a bit less if you buy a full year in
> advance.
>
> Dan
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
From kpatters at berkeley.edu Fri Dec 19 10:42:09 2008
From: kpatters at berkeley.edu (Kevin Patterson)
Date: Fri, 19 Dec 2008 10:42:09 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
Message-ID: <00d201c96209$807886e0$816994a0$@edu>
Hello...
Is there a way to execute a batch program via Perl?
Thanks..
From friedman at highwire.stanford.edu Fri Dec 19 10:56:59 2008
From: friedman at highwire.stanford.edu (Michael Friedman)
Date: Fri, 19 Dec 2008 10:56:59 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <00d201c96209$807886e0$816994a0$@edu>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<00d201c96209$807886e0$816994a0$@edu>
Message-ID: <794F054F-689B-438A-9EC5-DD9A7A83D497@highwire.stanford.edu>
If you want perl to execute it and then keep running try the system()
call. If you want perl to terminate and transfer control to the batch
program you use exec() instead.
If you want to communicate with your batch program from perl then you
need to look into more complicated options...
Both are documented in perlfunc.
-- Mike
On Dec 19, 2008, at 10:42 AM, Kevin Patterson wrote:
> Hello...
>
>
> Is there a way to execute a batch program via Perl?
>
> Thanks..
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
---------------------------------------------------------------------
Michael Friedman HighWire Press
Phone: 650-725-1974 Stanford University
FAX: 270-721-8034
---------------------------------------------------------------------
From david at fetter.org Fri Dec 19 10:59:06 2008
From: david at fetter.org (David Fetter)
Date: Fri, 19 Dec 2008 10:59:06 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <00d201c96209$807886e0$816994a0$@edu>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<00d201c96209$807886e0$816994a0$@edu>
Message-ID: <20081219185906.GC27437@fetter.org>
On Fri, Dec 19, 2008 at 10:42:09AM -0800, Kevin Patterson wrote:
> Hello...
>
> Is there a way to execute a batch program via Perl?
Sure, with system().
perldoc -f system
Cheers,
David.
>
> Thanks..
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
--
David Fetter http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter at gmail.com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From jackofnotrades at gmail.com Fri Dec 19 11:04:21 2008
From: jackofnotrades at gmail.com (Jeff Bragg)
Date: Fri, 19 Dec 2008 11:04:21 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <00d201c96209$807886e0$816994a0$@edu>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<00d201c96209$807886e0$816994a0$@edu>
Message-ID: <2f8a56f70812191104o5a5774b8xd35c7eb336a7740d@mail.gmail.com>
You can also use backticks if you want to save/use the output, as in:
my @batch_cmd_output = `./myshellscript -opt1 -opt2`;
On Fri, Dec 19, 2008 at 10:42 AM, Kevin Patterson wrote:
> Hello...
>
>
> Is there a way to execute a batch program via Perl?
>
> Thanks..
>
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From extasia at extasia.org Fri Dec 19 17:39:39 2008
From: extasia at extasia.org (David Alban)
Date: Fri, 19 Dec 2008 17:39:39 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <2f8a56f70812191104o5a5774b8xd35c7eb336a7740d@mail.gmail.com>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<00d201c96209$807886e0$816994a0$@edu>
<2f8a56f70812191104o5a5774b8xd35c7eb336a7740d@mail.gmail.com>
Message-ID: <4c714a9c0812191739r11bd97b0sdb854493edf33601@mail.gmail.com>
both in perl and in shell backticks produce less readable code and in
both languages there's a Better Way To Do It.
use qx{ } in perl and $( ) in shell. there is no reason to use
backticks ever again.
in shell, $( ) has the additional benefit of being nestable.
for qx{ } see the perlop man page. for $( ) see the bash (or ksh) man page.
On Fri, Dec 19, 2008 at 11:04 AM, Jeff Bragg wrote:
> You can also use backticks if you want to save/use the output, as in:
>
> my @batch_cmd_output = `./myshellscript -opt1 -opt2`;
--
Live in a world of your own, but always welcome visitors.
From jackofnotrades at gmail.com Fri Dec 19 18:59:09 2008
From: jackofnotrades at gmail.com (Jeff Bragg)
Date: Fri, 19 Dec 2008 18:59:09 -0800
Subject: [sf-perl] executing a batch command in a Perl program
In-Reply-To: <4c714a9c0812191739r11bd97b0sdb854493edf33601@mail.gmail.com>
References:
<92C119CF-7644-4714-994C-534608FDA3B4@pacificwebdesign.org>
<00d201c96209$807886e0$816994a0$@edu>
<2f8a56f70812191104o5a5774b8xd35c7eb336a7740d@mail.gmail.com>
<4c714a9c0812191739r11bd97b0sdb854493edf33601@mail.gmail.com>
Message-ID: <2f8a56f70812191859x16f48078yc23e308f15634d88@mail.gmail.com>
That seems subjective to me. I don't find qx{} or $() any more legible than
backticks (perhaps less so because I'm used to using backticks), but YMMV.
I guess that why TIMTOWTDI.
On Fri, Dec 19, 2008 at 5:39 PM, David Alban wrote:
> both in perl and in shell backticks produce less readable code and in
> both languages there's a Better Way To Do It.
>
> use qx{ } in perl and $( ) in shell. there is no reason to use
> backticks ever again.
>
> in shell, $( ) has the additional benefit of being nestable.
>
> for qx{ } see the perlop man page. for $( ) see the bash (or ksh) man
> page.
>
> On Fri, Dec 19, 2008 at 11:04 AM, Jeff Bragg
> wrote:
> > You can also use backticks if you want to save/use the output, as in:
> >
> > my @batch_cmd_output = `./myshellscript -opt1 -opt2`;
>
> --
> Live in a world of your own, but always welcome visitors.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tony at technicon.com Tue Dec 30 10:37:46 2008
From: tony at technicon.com (Anthony Mirante)
Date: Tue, 30 Dec 2008 10:37:46 -0800
Subject: [sf-perl] GSAPI
Message-ID: <278E86C2FF57AE45A3FD6B71E07C45D524D0AC@mail.technicon.com>
I am having trouble compiling gsapi.c on my Windows system. GSAPI is an
interface to GNU Ghostscript. I am running VS 2005 on an XP computer.
Has anyone had any luck compiling gsapi.c on a Windows machine? Do you
have any hints as to how I can get gsapi.c to compile in my environment?
Thanks.
-Tony
Y:\Products\PPMPackages\5.8plus\GSAPI-0.5>perl makefile.pl
Note (probably harmless): No library found for -lgs
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for GSAPI
Y:\Products\PPMPackages\5.8plus\GSAPI-0.5>..\bin\nmake
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cl -c -I. -I"C:/Program Files/Microsoft Visual Studio
8/VC/include/" -I"C:/Program Files/Microsoft Platform SDK/Include/"
-I"Y:/Products/PPMPackages/5.8plus/ghostscript-8.63/src" -nologo -GF
-W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DH
AVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_RE
ADFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.5\" -DXS_VERSION=\"0.5\"
"-IC:\Perl\lib\CORE" GSAPI.c
GSAPI.c
GSAPI.xs(13) : error C2143: syntax error : missing '{' before '*'
GSAPI.xs(141) : warning C4018: '>' : signed/unsigned mismatch
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(377) : warning C4034: sizeof returns 0
GSAPI.xs(435) : error C2065: 'gs_main_instance' : undeclared identifier
GSAPI.xs(435) : error C2065: 'inst' : undeclared identifier
GSAPI.xs(435) : error C2106: '=' : left operand must be l-value
GSAPI.c(589) : error C2146: syntax error : missing ';' before identifier
'RETVAL'
GSAPI.c(589) : error C2065: 'RETVAL' : undeclared identifier
GSAPI.xs(437) : warning C4047: 'function' : 'void **' differs in levels
of indirection from 'int *'
GSAPI.xs(437) : warning C4022: 'gsapi_new_instance' : pointer mismatch
for actual parameter 1
GSAPI.c(613) : error C2146: syntax error : missing ';' before identifier
'inst'
GSAPI.c(617) : error C2064: term does not evaluate to a function taking
-22 arguments
...
GSAPI.xs(544) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x2'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: