[29573] in Perl-Users-Digest
Perl-Users Digest, Issue: 817 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Sep 3 11:09:41 2007
Date: Mon, 3 Sep 2007 08:09:08 -0700 (PDT)
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, 3 Sep 2007 Volume: 11 Number: 817
Today's topics:
Re: FAQ 4.32 How do I strip blank space from the beginn <anno4000@radom.zrz.tu-berlin.de>
Re: FAQ 4.32 How do I strip blank space from the beginn <stoupa@practisoft.cz>
Re: FAQ 4.32 How do I strip blank space from the beginn sln@netherlands.co
Re: FAQ 4.32 How do I strip blank space from the beginn <rvtol+news@isolution.nl>
Re: FAQ 4.32 How do I strip blank space from the beginn <stoupa@practisoft.cz>
Re: FAQ 4.32 How do I strip blank space from the beginn <peter@makholm.net>
Re: FAQ 4.32 How do I strip blank space from the beginn <ben@morrow.me.uk>
Re: FAQ 4.32 How do I strip blank space from the beginn <tadmc@seesig.invalid>
Re: FAQ 4.32 How do I strip blank space from the beginn <peter@makholm.net>
Re: FAQ 4.32 How do I strip blank space from the beginn <uri@stemsystems.com>
Get file list over http <rohit.makasana@gmail.com>
Re: Get file list over http <thepoet_nospam@arcor.de>
Re: How to generate http error in script <ben@morrow.me.uk>
Re: How to generate http error in script <stoupa@practisoft.cz>
Re: How to generate http error in script <spamtrap@dot-app.org>
Re: How to generate http error in script <stoupa@practisoft.cz>
Re: How to generate http error in script <hjp-usenet2@hjp.at>
how to share variable like IPC::Shareable in win32 ? <abbypan@gmail.com>
Re: how to share variable like IPC::Shareable in win3 <ben@morrow.me.uk>
Re: Mac: Perl script that will run when double-clicked amirkarger@gmail.com
Re: Mac: Perl script that will run when double-clicked <spamtrap@dot-app.org>
Re: web programming in perl <abigail@abigail.be>
Re: web programming in perl <spamtrap@dot-app.org>
Re: web programming in perl <noreply@gunnar.cc>
Re: web programming in perl <tom@nospam.org>
Re: web programming in perl <tom@nospam.org>
Re: web programming in perl <jurgenex@hotmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 3 Sep 2007 07:45:10 +0200
From: Anno Siegel <anno4000@radom.zrz.tu-berlin.de>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <5k1lb6F1n2l1U1@mid.dfncis.de>
On 2007-09-03 03:17:24 +0200, Uri Guttman <uri@stemsystems.com> said:
>>>>>> "s" == sln <sln@netherlands.co> writes:
>
> s> or try this:
>
> why should we try it? it has a major bug. and it isn't valid perl.
>
> s> TrimTheFat
>
> no sub
>
> s> {
> s> my $string_ref = @_;
>
> that doesn't assign what you think it does
>
> s> $$string_ref =~ s/^\s+//;
> s> $$string_ref =~ s/\s+$//;
> s> # add other fat trimming you would like
> s> # ie: double slashes, double periods, etc..
>
> those would be options and not useful for a fast white space trimmer.
>
> s> }
Also, there's no need to use a reference:
sub trim { s/^\s+//, s/\s+$// for shift }
> like michele said, this is too trivial to need a sub or a library.
That too.
Anno
>
------------------------------
Date: Mon, 3 Sep 2007 15:09:04 +0200
From: "Petr Vileta" <stoupa@practisoft.cz>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <fbh13i$1upj$2@ns.felk.cvut.cz>
Anno Siegel wrote:
> On 2007-09-03 03:17:24 +0200, Uri Guttman <uri@stemsystems.com> said:
>
>> like michele said, this is too trivial to need a sub or a library.
>
> That too.
>
As the case may be ;-) When you remove blanks 50 times in 50kb source code
then is better to use sub or library.
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
------------------------------
Date: Sun, 02 Sep 2007 15:37:02 -0700
From: sln@netherlands.co
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <2kemd3pe5n9vaqmf64cmejpmteo2kkgin2@4ax.com>
On Sat, 1 Sep 2007 21:42:57 +0000 (UTC), dkcombs@panix.com (David Combs) wrote:
>I'm wondering how many perl programmers have always-include
>libraries of useful functions, one of them being "trim".
>
>So, have a poll, and decide based on that.
>
>David
>
It would appear that a useful library may be fashioned out of
the MFC CString class, which has all the goodies. Trivial but usefull.
or try this:
TrimTheFat
{
my $string_ref = @_;
$$string_ref =~ s/^\s+//;
$$string_ref =~ s/\s+$//;
# add other fat trimming you would like
# ie: double slashes, double periods, etc..
}
my $fatstring = "This here is a fat string";
TrimTheFat ( \$fatstring);
------------------------------
Date: Mon, 3 Sep 2007 09:54:14 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <fbgltj.1ks.1@news.isolution.nl>
Petr Vileta schreef:
> sub trim {
> my $t = shift;
> $t =~s/^\s*|\s*$//sg;
> return $t;
> }
Please read `perldoc -q space`.
The '*' quantifier should be '+'. The /s modifier should not be there.
The substitution is faster when split up, then the /g modifier is also
gone.
Variant:
sub trim { s/^\s+//, s/\s+$// for @_ }
but beware that this will change the parameter(s) themselves.
(the same comments go for the rest)
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: Mon, 3 Sep 2007 15:05:42 +0200
From: "Petr Vileta" <stoupa@practisoft.cz>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <fbh13i$1upj$1@ns.felk.cvut.cz>
Dr.Ruud wrote:
> Petr Vileta schreef:
>
>> sub trim {
>> my $t = shift;
>> $t =~s/^\s*|\s*$//sg;
>> return $t;
>> }
>
> Please read `perldoc -q space`.
>
> The '*' quantifier should be '+'. The /s modifier should not be there.
> The substitution is faster when split up, then the /g modifier is also
> gone.
>
Yes, a quantifier I had bad, but /s modifier I must use because
" abcd\n efgh\n "
must return
"abcd\n efgh"
This is for input from <textarea> field.
>
> Variant:
>
> sub trim { s/^\s+//, s/\s+$// for @_ }
>
> but beware that this will change the parameter(s) themselves.
>
Thanks, this is better. I don't know why I not use syntax "do_somethig for
..." :-)
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
------------------------------
Date: Mon, 03 Sep 2007 13:32:11 +0000
From: Peter Makholm <peter@makholm.net>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <877in73mec.fsf@hacking.dk>
"Petr Vileta" <stoupa@practisoft.cz> writes:
>> The '*' quantifier should be '+'. The /s modifier should not be there.
>> The substitution is faster when split up, then the /g modifier is also
>> gone.
>>
> Yes, a quantifier I had bad, but /s modifier I must use because
> " abcd\n efgh\n "
> must return
> "abcd\n efgh"
> This is for input from <textarea> field.
I don't think the /s modifier does what you believe. At least it looks
like it works as you want without the modifier:
$ cat > test_trim.pl
sub trim { s/^\s+//, s/\s+$// for @_ };
$a = " abcd\n efgh\n ";
print "[[$a]]";
trim $a;
print "[[$a]]"'
$ perl -l test_trim.pl
[[ abcd
efgh
]]
[[abcd
efgh]]
$
Unless you fiddle with $* (which you under no circumstances should do)
the /s-modifier should only change the semantics of ".".
//Makholm
------------------------------
Date: Mon, 3 Sep 2007 14:34:42 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <i4ftq4-tb1.ln1@osiris.mauzo.dyndns.org>
Quoth "Petr Vileta" <stoupa@practisoft.cz>:
> Dr.Ruud wrote:
> > Petr Vileta schreef:
> >
> >> sub trim {
> >> my $t = shift;
> >> $t =~s/^\s*|\s*$//sg;
> >> return $t;
> >> }
> >
> > Please read `perldoc -q space`.
> >
> > The '*' quantifier should be '+'. The /s modifier should not be there.
> > The substitution is faster when split up, then the /g modifier is also
> > gone.
> >
> Yes, a quantifier I had bad, but /s modifier I must use because
> " abcd\n efgh\n "
> must return
> "abcd\n efgh"
Did you try it without /s? The *only* thing /s affects is the behaviour
of '.'. You have no '.'s in your regex, so /s makes no difference.
Ben
------------------------------
Date: Mon, 03 Sep 2007 13:36:13 GMT
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <slrnfdo3e0.krq.tadmc@tadmc30.sbcglobal.net>
Petr Vileta <stoupa@practisoft.cz> wrote:
> Dr.Ruud wrote:
>> Petr Vileta schreef:
>>> $t =~s/^\s*|\s*$//sg;
>> The /s modifier should not be there.
> but /s modifier I must use
If you think so, then you do not yet understand what /s does.
It makes dot match a newline.
It therefore has no effect at all when your pattern does not contain a dot.
Your pattern does not contain a dot, so the /s modifier should not be there.
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
------------------------------
Date: Mon, 03 Sep 2007 13:45:10 +0000
From: Peter Makholm <peter@makholm.net>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <87zm032789.fsf@hacking.dk>
Ben Morrow <ben@morrow.me.uk> writes:
> Did you try it without /s? The *only* thing /s affects is the behaviour
> of '.'. You have no '.'s in your regex, so /s makes no difference.
The /s-modifier withou the /m-modifier also forces ^ and $ to mean
beginning and end of string no matter what $* is. But you shouldn't
use $* so for every sane piece of code you're right.
//Makholm
------------------------------
Date: Mon, 03 Sep 2007 01:17:24 GMT
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: FAQ 4.32 How do I strip blank space from the beginning/end of a string?
Message-Id: <x7bqckk0nv.fsf@mail.sysarch.com>
>>>>> "s" == sln <sln@netherlands.co> writes:
s> or try this:
why should we try it? it has a major bug. and it isn't valid perl.
s> TrimTheFat
no sub
s> {
s> my $string_ref = @_;
that doesn't assign what you think it does
s> $$string_ref =~ s/^\s+//;
s> $$string_ref =~ s/\s+$//;
s> # add other fat trimming you would like
s> # ie: double slashes, double periods, etc..
those would be options and not useful for a fast white space trimmer.
s> }
like michele said, this is too trivial to need a sub or a library.
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: Sun, 02 Sep 2007 22:17:05 -0000
From: Rohit <rohit.makasana@gmail.com>
Subject: Get file list over http
Message-Id: <1188771425.507397.35560@r29g2000hsg.googlegroups.com>
Hi, I am trying to write a script, which downloads files over http. I
am using curl command to download the file, but using curl I have to
pass filename. Filename on server would be changing frequently, so is
there any way to get list of files over http? Once I get filename,
then I can pass that filename to curl and download the file.
I would also be thankful, if you can suggest any other way to achieve
this task.
If I have posted this message in wrong group, please rout me to
correct group.
I would appreciate your reply. Thanks in advance.
Thanks,
Rohit
------------------------------
Date: Mon, 03 Sep 2007 00:59:07 +0200
From: Christian Winter <thepoet_nospam@arcor.de>
Subject: Re: Get file list over http
Message-Id: <46db4011$0$16099$9b4e6d93@newsspool1.arcor-online.net>
Rohit wrote:
> Hi, I am trying to write a script, which downloads files over http. I
> am using curl command to download the file, but using curl I have to
> pass filename. Filename on server would be changing frequently, so is
> there any way to get list of files over http? Once I get filename,
> then I can pass that filename to curl and download the file.
>
> I would also be thankful, if you can suggest any other way to achieve
> this task.
To 'get a list of files over http' usually means to retrieve
the index of a directory. Depending on the configuration of
the server, this may be allowed/provided or not. If the browser
displays an explorer-like view when accessing a URL ending with
a directory name, it serves back a html page with a list of
links to each file.
To retrieve this index page, you can use the LWP::Simple module.
To extract links from the page, HTML::LinkExtor or HTML::TreeBuilder
can aid you. If you have successfully extracted the links (all
modules come with a number of examples) you can once again
use LWP::Simple and retrieve the files directly to disk with its
getstore() method.
HTH
-Chris
--
print +(chr(-32+ord)^("Only Waiting for Perl 6" =~
/./g)[$c++])for('%;?- V/& !+5 V* l 8$1\'ed'=~/./g);
------------------------------
Date: Sun, 2 Sep 2007 23:32:39 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: How to generate http error in script
Message-Id: <79qrq4-5b4.ln1@osiris.mauzo.dyndns.org>
Quoth "Petr Vileta" <stoupa@practisoft.cz>:
> I wrote script where some login is needed and I want to generate standard
> http error when login data is wrong. The script below work on MS-IIS but
> fail on Apache. What is the right way?
>
> #!/usr/bin/perl
> use strict;
> use warnings;
> use CGI qw(:cgi);
> my $user = param('user');
> if($user ne 'test') {&unauth; exit;}
Don't call functions with &.
> # do something
>
> sub unauth
> {
> print "HTTP/1.1 401 Unauthorized\n",
> "Connection: close\n",
> "Content-Type: text/html; charset=utf-8\n\n",
> "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n",
> "<HTML><HEAD><TITLE>401 Unauthorized access</TITLE></HEAD><BODY>\n",
> "<h1>401 Unauthorized access</h1>\n</body></html>";
Hmmm... a mess... try a heredoc:
print <<CGI;
HTTP/1.1 401 Unauthorized
Connection: close
Content-Type: text/html; charset=utf-8
...
CGI
> }
Do you realise that 401 is handled specially by most browsers, in that
they will pop up an auth dialog and attempt to use HTTP auth with the
provided information? In more general terms, 401 means 'not correctly
authorized with HTTP auth; try again with different credentials'. Since
you are using a custom scheme (presumably a form with a field called
'user') HTTP auth can never succeed.
Ben
--
don't get my sympathy hanging out the 15th floor. you've changed the locks 3
times, he still comes reeling though the door, and soon he'll get to you, teach
you how to get to purest hell. you do it to yourself and that's what really
hurts is you do it to yourself just you, you and noone else ** ben@morrow.me.uk
------------------------------
Date: Mon, 3 Sep 2007 03:29:29 +0200
From: "Petr Vileta" <stoupa@practisoft.cz>
Subject: Re: How to generate http error in script
Message-Id: <fbfp3s$1c0l$1@ns.felk.cvut.cz>
Gunnar Hjalmarsson wrote:
> Petr Vileta wrote:
>> I wrote script where some login is needed and I want to generate
>> standard http error when login data is wrong. The script below work
>> on MS-IIS but fail on Apache. What is the right way?
>
> <snip>
>
> Instead of
>
>> print "HTTP/1.1 401 Unauthorized\n",
>
> I'd just do:
>
> print "Status: 401 Unauthorized\n",
>
Yeah, of course. I'm stupid ;-) Thanks a lot.
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
------------------------------
Date: Sun, 02 Sep 2007 22:47:04 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: How to generate http error in script
Message-Id: <m2myw44g9j.fsf@dot-app.org>
"Petr Vileta" <stoupa@practisoft.cz> writes:
> I wrote script where some login is needed and I want to generate
> standard http error when login data is wrong. The script below work on
> MS-IIS but fail on Apache. What is the right way?
Why not just configure Apache to do that?
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Mon, 3 Sep 2007 05:48:54 +0200
From: "Petr Vileta" <stoupa@practisoft.cz>
Subject: Re: How to generate http error in script
Message-Id: <fbg07p$1f1g$1@ns.felk.cvut.cz>
Sherm Pendley wrote:
> "Petr Vileta" <stoupa@practisoft.cz> writes:
>
>> I wrote script where some login is needed and I want to generate
>> standard http error when login data is wrong. The script below work
>> on MS-IIS but fail on Apache. What is the right way?
>
> Why not just configure Apache to do that?
>
Because I do not use Apache authentication but by parameters on GET method
only. If all parameters are passed right then script return XML file, in
other case must return http 401 error.
--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
------------------------------
Date: Mon, 3 Sep 2007 15:23:00 +0200
From: "Peter J. Holzer" <hjp-usenet2@hjp.at>
Subject: Re: How to generate http error in script
Message-Id: <slrnfdo2lk.b0l.hjp-usenet2@zeno.hjp.at>
On 2007-09-03 03:48, Petr Vileta <stoupa@practisoft.cz> wrote:
> Sherm Pendley wrote:
>> "Petr Vileta" <stoupa@practisoft.cz> writes:
>>> I wrote script where some login is needed and I want to generate
>>> standard http error when login data is wrong. The script below work
>>> on MS-IIS but fail on Apache. What is the right way?
>>
>> Why not just configure Apache to do that?
>>
> Because I do not use Apache authentication but by parameters on GET method
> only. If all parameters are passed right then script return XML file, in
> other case must return http 401 error.
In this case 401 is probably wrong. 401 is intended to be used with the
WWW-Authenticate and Authorization headers:
| 10.4.2 401 Unauthorized
|
| The request requires user authentication. The response MUST include a
| WWW-Authenticate header field (section 14.47) containing a challenge
| applicable to the requested resource. The client MAY repeat the
| request with a suitable Authorization header field (section 14.8).
(RFC 2616: HTTP/1.1)
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | hjp@hjp.at |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
------------------------------
Date: Mon, 03 Sep 2007 06:53:54 -0000
From: lsyx <abbypan@gmail.com>
Subject: how to share variable like IPC::Shareable in win32 ?
Message-Id: <1188802434.813927.233510@k79g2000hse.googlegroups.com>
I use IPC::Shareable to share Perl variables between processes in
linux.
But it can't work in windows.
thanks!
------------------------------
Date: Mon, 3 Sep 2007 14:27:35 +0100
From: Ben Morrow <ben@morrow.me.uk>
Subject: Re: how to share variable like IPC::Shareable in win32 ?
Message-Id: <7netq4-171.ln1@osiris.mauzo.dyndns.org>
Quoth lsyx <abbypan@gmail.com>:
> I use IPC::Shareable to share Perl variables between processes in
> linux.
>
> But it can't work in windows.
If you want an interface similar to IPC::Shareable, where random
processes created independantly can locate the shared memory given an
appropriate ID, you may have some luck with Win32::MMF.
However, if your processes are all forked perl processes (that is, they
are all children of one parent), you can share variables by switching
from fork to threads and threads::shared. Fork is emulated using threads
under Win32 anyway.
Ben
------------------------------
Date: Mon, 03 Sep 2007 01:46:29 -0000
From: amirkarger@gmail.com
Subject: Re: Mac: Perl script that will run when double-clicked
Message-Id: <1188783989.664868.157660@22g2000hsm.googlegroups.com>
On Aug 30, 4:37 pm, Ben Morrow <b...@morrow.me.uk> wrote:
> Quoth amirkar...@gmail.com:
>
>
>
> > On Aug 29, 5:54 pm, Anno Siegel <anno4...@mailbox.zrz.tu-berlin.de>
> > wrote:
> > > On 2007-08-29 06:17:58 +0200, amirkar...@gmail.com said:
>
> > > > On Aug 22, 1:28 pm, amirkar...@gmail.com wrote:
> > > > 1) You need to chmod +x the script, or it won't run. Which sort of
> > > > defeats the purpose of creating adouble-clickable program, doesn't
> > > > it?
>
> > > How so? What do you consider the purpose of making a perl script clickable?
>
> > > Anno
>
> > Good point.
>
> > The idea here is that I'm going to have downloadable files that the
> > user saves to their disk so they can click on it & run without ever
> > needing to open a Terminal themselves or type stuff on a command
> > line.
>
> They don't... it's perfectly possible to chmod a file through the GUI.
> In any case, this should be regarded as a security feature of MacOSX: the
> point being that a user has to take affirmative action before a random
> downloaded file can be executed (yes, I realise there are many ways
> around this... still, it's worth something :) ).
>
> Ben
I probably should have taken this to a Mac group long ago. But as long
as I'm here ... I know you can chmod g/m/o +/- r/w in the GUI, but is
it truly possible to chmod +x? And if so, how? It's not an option in
the standard or advanced chmod GUI.
-Amir
------------------------------
Date: Sun, 02 Sep 2007 23:09:20 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Mac: Perl script that will run when double-clicked
Message-Id: <m2d4x04f8f.fsf@dot-app.org>
amirkarger@gmail.com writes:
> On Aug 30, 4:37 pm, Ben Morrow <b...@morrow.me.uk> wrote:
>
>> They don't... it's perfectly possible to chmod a file through the GUI.
>
> I probably should have taken this to a Mac group long ago. But as long
> as I'm here ... I know you can chmod g/m/o +/- r/w in the GUI, but is
> it truly possible to chmod +x? And if so, how?
Ben didn't say you could do it through *Finder's* GUI. :-)
That said, it'd be a simple task to create an Automater workflow to chmod
a bunch of files.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: 02 Sep 2007 20:12:15 GMT
From: Abigail <abigail@abigail.be>
Subject: Re: web programming in perl
Message-Id: <slrnfdm67r.4d4.abigail@alexandra.abigail.be>
_
Tom Forsmo (spam@nospam.net) wrote on VCXV September MCMXCIII in
<URL:news:46db139e$1@news.broadpark.no>:
\\ Hi
\\
\\ I have been out of the perl web programming sphere for a long time, so I
\\ have a couple of quick question just to point me in the right direction.
\\
\\ - is perl used as much for web programming compared to f.ex php, ruby, java?
No. It will used more than some other languages, and less than some others.
\\ - what are the primary forums for dicussing perl web programming these days?
\\ - what are the most used web frameworks for perl? I have found out about
\\ Catalyst, and it seems to be used on some known sites
I doubt anyone knows. The majority of the website has been made by people
and companies with no interest at all in "the community", and are unlikely
to report to some central authority what frame work they use.
Oh, and if I can make a guess, my guess is that the majority of the web
sites doesn't use a "frame work".
Abigail
--
map{${+chr}=chr}map{$_=>$_^ord$"}$=+$]..3*$=/2;
print "$J$u$s$t $a$n$o$t$h$e$r $P$e$r$l $H$a$c$k$e$r\n";
------------------------------
Date: Sun, 02 Sep 2007 18:04:03 -0400
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: web programming in perl
Message-Id: <m2r6lg4td8.fsf@dot-app.org>
Gunnar Hjalmarsson <noreply@gunnar.cc> writes:
> Tom Forsmo wrote:
>>
>> - what are the primary forums for dicussing perl web programming
>> these days?
>
> I don't know. I do know that it's not this group...
If a question is *really* about Perl, and not about HTML, CSS, SQL, or some
other technology, then it's perfectly on-topic here. A basic rule-of-thumb
that I use is to ask myself if the question would be substantially different
if a different server-side language were involved, or if the relevant content
were being served directly from static files.
If the answer to that is "no," then odds are good that the question is in
fact about HTML, CSS, or whatever. In that case, more and better answers to
it could be found in a more appropriate forum.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
------------------------------
Date: Mon, 03 Sep 2007 00:58:15 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: web programming in perl
Message-Id: <5k0tgeF1m524U1@mid.individual.net>
Sherm Pendley wrote:
> Gunnar Hjalmarsson <noreply@gunnar.cc> writes:
>> Tom Forsmo wrote:
>>> - what are the primary forums for dicussing perl web programming
>>> these days?
>> I don't know. I do know that it's not this group...
>
> If a question is *really* about Perl, and not about HTML, CSS, SQL, or some
> other technology, then it's perfectly on-topic here.
Yeah, it wasn't my intent to claim otherwise. But it's my feeling that
many web programming issues are of a multi-discipline nature, and hence
considered off-topic here by some regulars.
Btw, this reminds me of this thread:
http://groups.google.com/group/comp.lang.perl.misc/browse_frm/thread/463c4e90b6dbc2ea
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Mon, 03 Sep 2007 16:13:34 +0200
From: Tom Forsmo <tom@nospam.org>
Subject: Re: web programming in perl
Message-Id: <fbh4q4$kgf$1@aioe.org>
Sherm Pendley wrote:
> If a question is *really* about Perl, and not about HTML, CSS, SQL, or some
> other technology, then it's perfectly on-topic here. A basic rule-of-thumb
> that I use is to ask myself if the question would be substantially different
> if a different server-side language were involved, or if the relevant content
> were being served directly from static files.
>
> If the answer to that is "no," then odds are good that the question is in
> fact about HTML, CSS, or whatever. In that case, more and better answers to
> it could be found in a more appropriate forum.
Well, since I said "perl web programming", chances are I mean "how and
what web technologies integrate with perl"... not "how to use a non perl
technology" in web programming.
tom
------------------------------
Date: Mon, 03 Sep 2007 16:15:38 +0200
From: Tom Forsmo <tom@nospam.org>
Subject: Re: web programming in perl
Message-Id: <fbh4tv$kgf$2@aioe.org>
Gunnar Hjalmarsson wrote:
> But it's my feeling that
> many web programming issues are of a multi-discipline nature, and hence
> considered off-topic here by some regulars.
The reason I asked was that the traffic on this group is not very high,
when you remove the perlfaq automated posts, so I assumed there were
other more high traffic forums.
------------------------------
Date: Mon, 03 Sep 2007 14:59:46 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: web programming in perl
Message-Id: <CjVCi.3650$pm2.1057@trndny08>
Tom Forsmo wrote:
> The reason I asked was that the traffic on this group is not very
> high, when you remove the perlfaq automated posts, so I assumed there
> were other more high traffic forums.
Excuse me? Just for August I got over 1800 postings even _after_ filtering
some very verbose trolls. If an average of 60 postings a day isn't enough
traffic for you then I don't know what.
jue
------------------------------
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 V11 Issue 817
**************************************