[25341] in Perl-Users-Digest
Perl-Users Digest, Issue: 7586 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Dec 28 18:05:47 2004
Date: Tue, 28 Dec 2004 15:05:16 -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 Tue, 28 Dec 2004 Volume: 10 Number: 7586
Today's topics:
Re: For your christmas reading pleasure. <dak@gnu.org>
Re: getting array elements <spamtrap@dot-app.org>
Re: getting array elements <nospam@nospam.com>
Re: getting array elements <spamtrap@dot-app.org>
Re: getting array elements <nospam@nospam.com>
Re: getting array elements <matternc@comcast.net>
Re: handle multiple submit button. ioneabu@yahoo.com
Re: handle multiple submit button. <abigail@abigail.nl>
Re: handle multiple submit button. <spamtrap@dot-app.org>
Re: handle multiple submit button. ioneabu@yahoo.com
help: negative lookahead and backref in regex? stenor@bayarea.net
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 28 Dec 2004 22:53:11 +0100
From: David Kastrup <dak@gnu.org>
Subject: Re: For your christmas reading pleasure.
Message-Id: <x5mzvyytrs.fsf@lola.goethe.zz>
Michele Dondi <bik.mido@tiscalinet.it> writes:
> So the question/hint for a discussion is this: could Perl6 -still
> *hypothetically* speaking- be the base for the implementation of a
> modern TeX successor?
Shrug. There is no particular advantage making Perl particularly
suited to the task: the list data structures are not particularly
suited to Perl, the stuff Perl offers for parsing and scanning is not
well-suited for TeX, the main control structures and concepts in TeX
(optimization and parallel execution, which are mostly hard-coded in
current TeX) don't map well to Perl and would still require mostly
hard-coding.
In short: there is nothing that would particularly recommend Perl.
Add to that the fact that Perl is a _huge_ complex system that tends
to get replaced every few years, I don't see why one would want to
base a large code base with a _much_ longer shelf life on it.
Of _course_ you could make Perl6 the base for the implementation of
some successor. It is a programming language, after all. But I don't
see why anyone would want to do that.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
------------------------------
Date: Tue, 28 Dec 2004 15:26:43 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: getting array elements
Message-Id: <MJmdnXL5qpsZXEzcRVn-uA@adelphia.com>
daniel kaplan wrote:
> i will do exactly as i have said, and not waste my time replying to whatever
> shots you wish to take
Shots? I'm not taking shots. You made a claim that was false, and I
countered it and posted evidence to back up my statements. No "shots"
there, no hostility - just a discussion.
> i will take back the stuffy tho, i should haev said: now i realize why
> people are "insistent" about posting code snippets
In the past, you accused people who were so insistent about that of
attacking you. But they weren't; you were asking vague questions with no
code, and people needed to see some code to have any chance of helping
you. But you got angry when they asked for code - and then they got
angry at you in return.
And so it went... it certainly got personal after that, with insults and
flames flying in all directions. But at the core of it all, at the very
beginning, was your perception of a series of personal attacks where
none were intended. You misunderstood, and because of that you posted
some comments that were wholly inappropriate. You owe a lot of people an
apology.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Tue, 28 Dec 2004 15:53:33 -0500
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: getting array elements
Message-Id: <1104267190.301236@nntp.acecape.com>
"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:MJmdnXL5qpsZXEzcRVn-uA@adelphia.com...
[stuff]
not even going to bother
------------------------------
Date: Tue, 28 Dec 2004 16:15:09 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: getting array elements
Message-Id: <39mdnVRQ-7tDUUzcRVn-tg@adelphia.com>
daniel kaplan wrote:
> not even going to bother
You're not going to bother apologizing to the people you've insulted?
How rude! Pretty much what I expected though, in light of your past
behavior.
Ah well - maybe someone else can learn from your mistakes, even if
you're not willing to.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: Tue, 28 Dec 2004 16:36:42 -0500
From: "daniel kaplan" <nospam@nospam.com>
Subject: Re: getting array elements
Message-Id: <1104269779.910960@nntp.acecape.com>
"Sherm Pendley" <spamtrap@dot-app.org> wrote in message
news:39mdnVRQ-7tDUUzcRVn-tg@adelphia.com...
[stuff]
not even going to bother
------------------------------
Date: Tue, 28 Dec 2004 17:51:19 -0500
From: Chris Mattern <matternc@comcast.net>
Subject: Re: getting array elements
Message-Id: <z6GdncN3PK36fkzcRVn-sQ@comcast.com>
daniel kaplan wrote:
> "Sherm Pendley" <spamtrap@dot-app.org> wrote in message
> news:39mdnVRQ-7tDUUzcRVn-tg@adelphia.com...
>
> [stuff]
>
> not even going to bother
For someone who's not even going to bother, you surely seem
determined to have the last world.
--
Christopher Mattern
"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
------------------------------
Date: 28 Dec 2004 11:45:34 -0800
From: ioneabu@yahoo.com
Subject: Re: handle multiple submit button.
Message-Id: <1104263134.939281.93240@z14g2000cwz.googlegroups.com>
Lars Eighner wrote:
...
> Third perl is not CGI.
Just look at the Larry Wall home page to see that this is true. On the
other hand, I have found CGI programming via CGI.pm is the best user
interface to Perl programs. It is very simple, even easier than
actually fully understanding HTML and CGI programming without CGI.pm,
and it is as portable as you can get. No virtual machine to install,
just an up-to-date browser on just about any current OS (assuming you
have access to one of the many low cost web hosters). A google search
for 'CGI.pm home page' brings up the official home page with everything
you need to know about CGI.pm. I bought the books anyway because I
felt that Dr. Lincoln Stein is a great man and deserves all the book
sales he can get. I wonder why he doesn't publish with O'Reilly. I
don't know much about the inner-circle of Perl, but his CGI.pm work is
discussed in every O'Reilly Perl book that I have read, so why is he
with a different publisher?
Anyway, if you want to really have fun programming, immerse yourself in
CGI programming with Perl. I can't get enough of it.
wana
------------------------------
Date: 28 Dec 2004 20:34:45 GMT
From: Abigail <abigail@abigail.nl>
Subject: Re: handle multiple submit button.
Message-Id: <slrnct3gr5.non.abigail@alexandra.abigail.nl>
ioneabu@yahoo.com (ioneabu@yahoo.com) wrote on MMMMCXXXVII September
MCMXCIII in <URL:news:1104263134.939281.93240@z14g2000cwz.googlegroups.com>:
''
'' Lars Eighner wrote:
'' ...
'' > Third perl is not CGI.
''
'' Just look at the Larry Wall home page to see that this is true. On the
'' other hand, I have found CGI programming via CGI.pm is the best user
'' interface to Perl programs. It is very simple, even easier than
'' actually fully understanding HTML and CGI programming without CGI.pm,
'' and it is as portable as you can get. No virtual machine to install,
'' just an up-to-date browser on just about any current OS (assuming you
'' have access to one of the many low cost web hosters). A google search
'' for 'CGI.pm home page' brings up the official home page with everything
'' you need to know about CGI.pm. I bought the books anyway because I
'' felt that Dr. Lincoln Stein is a great man and deserves all the book
'' sales he can get. I wonder why he doesn't publish with O'Reilly. I
'' don't know much about the inner-circle of Perl, but his CGI.pm work is
'' discussed in every O'Reilly Perl book that I have read, so why is he
'' with a different publisher?
+ Perhaps because not everyone is convinced O'Reilly is the best publisher
under the sun?
+ Perhaps because he got a better deal elsewhere?
+ Perhaps the "different" publisher asked him first? Or responded positively
to a probe from him first?
+ Perhaps because he had more freedom elsewhere?
Abigail
--
srand 123456;$-=rand$_--=>@[[$-,$_]=@[[$_,$-]for(reverse+1..(@[=split
//=>"IGrACVGQ\x02GJCWVhP\x02PL\x02jNMP"));print+(map{$_^q^"^}@[),"\n"
------------------------------
Date: Tue, 28 Dec 2004 15:47:18 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: handle multiple submit button.
Message-Id: <t8WdnSYfuprLW0zcRVn-1g@adelphia.com>
ioneabu@yahoo.com wrote:
> other hand, I have found CGI programming via CGI.pm is the best user
> interface to Perl programs.
I'm actually quite fond of CamelBones.pm for UIs myself. But I suppose
I'm a bit biased. :-)
> felt that Dr. Lincoln Stein is a great man and deserves all the book
> sales he can get. I wonder why he doesn't publish with O'Reilly.
Eh?
<http://www.oreillynet.com/cs/catalog/view/au/290>
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
------------------------------
Date: 28 Dec 2004 13:25:05 -0800
From: ioneabu@yahoo.com
Subject: Re: handle multiple submit button.
Message-Id: <1104269105.492165.222800@z14g2000cwz.googlegroups.com>
Sherm Pendley wrote:
> ioneabu@yahoo.com wrote:
>
> > other hand, I have found CGI programming via CGI.pm is the best
user
> > interface to Perl programs.
>
> I'm actually quite fond of CamelBones.pm for UIs myself. But I
suppose
> I'm a bit biased. :-)
>
> > felt that Dr. Lincoln Stein is a great man and deserves all the
book
> > sales he can get. I wonder why he doesn't publish with O'Reilly.
>
> Eh?
>
Thanks for the link! I had no idea. The two books I have by him are
from different publishers. The official CGI.pm guide and the one on
network programming with Perl. I will have to check out those others.
Also will have to take a look at CamelBones.pm. Thanks!
wana
> <http://www.oreillynet.com/cs/catalog/view/au/290>
>
> sherm--
>
> --
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org
------------------------------
Date: 28 Dec 2004 15:02:17 -0800
From: stenor@bayarea.net
Subject: help: negative lookahead and backref in regex?
Message-Id: <1104274937.489209.293710@z14g2000cwz.googlegroups.com>
I'd appreciate some help from a regex guru with this:
I'm trying to match a pattern that looks more or less like this:
<string1><statictext><string2>
where string1 and string2 are not the same. I need to do this in a
single regex (rather than capturing $1 and $2 and comparing after the
fact.
I've tried this as a test (in this case <statictext> is just
whitespace:
/(\w+)\s+(?!\1)/
This will match "foo bar" as expected, but it also matches "foo foo"
which it ought not to.
Using positive lookahead had the expected result:
/(\w+)\s+(?=\1)/ matches "foo foo" but not "foo bar", which is the
intended behavior.
Any ideas regarding why using the negative lookahead assertion as I've
done doesn't do what I'd like it to do? And/or how to do it correctly?
email cc appreciated.
Thanks,
Scott
------------------------------
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 7586
***************************************