wow, that's some serious regex just to remove a leading character from a string.
anyway, this is not a CGI issue per se. see if this helps:
http://ppewww.ph.gla.ac.uk/%7eflavell/www/formquestion.html
-Original Message-
From: Shawn Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03,
Hi,
I'd like to convert a text file to tex. One thing I encounter is that
there are lots of dialogues, and I want to transform to `` ''
properly. I try to use s/([^]*)/``$1/gs but it doesn't work
correctly. Any ideas?
Regards,
--
Zeng Nan
Simple is Beautiful.
On Sun, 05 Jun 2005 12:30:34 +0200, Ing. Branislav Gerzo wrote:
Zeng Nan [ZN], on Sunday, June 5, 2005 at 16:20 (+0800) contributed
this to our collective wisdom:
ZN I'd like to convert a text file to tex. One thing I encounter is that
ZN there are lots of dialogues, and I want to transform
I have a fragment of code (consisting of a while loop) that removes all the
keywords in string and puts them at the end. I would like to extract this
while loop into it's own function and have patterns as function arguments.
What should I pass to the function? Strings?
Strategy A:
sub abc { my
Thanks all. I have figured it out. I should have used `undef $/' at the
beginning so that the whole file is treated as a string.
--
Zeng Nan
Simple is Beautiful.
PGP Key: http://hobbit.homeunix.org
pgpkkAaQGvqEE.pgp
Description: PGP signature
Hi all,
I noticed strange behavior with die;
Here is snippet:
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize-new();
$mech-agent_alias('Windows IE 6');
$mech-get( 'http://www.zoznam.sk' );
for my $link ( $mech-links() ) {
print $link-url_abs, \n;
}
This
Always group reply so others can help and be helped, and to avoid
getting accidentally ignored.
Because it's up-side down.
Why is that?
It makes replies harder to read.
Why not?
Please don't top-post. - Sherm Pendley, Mac OS X list
Aaron Huber wrote:
On 6/3/05, Wiggins d'Anconia [EMAIL
I did an error free up2date install of perl and was having the exact error
I
am having now. So I did a full binary install of the latest stable release
of
perl after uninstalling all spamassin dependant modules.
Everything went on perfect with zero errors. I have a copy of the complete
both Digest::SHA1 and Digest::SHA2 are installed error free from a binary
installation.
Brad
[EMAIL PROTECTED]
I am trying to build an array that can be used with GD::Graph
to show the graphical representation of a MySQL query. This module
only takes in an AoA like this:
@data = ([1,2,3,4],[10,20,30,40]); # @arr[$x vals], [$y vals]
It then takes that array and parses it into a graph like this:
my
I have a strange problem where a database handle is being destroyed for no
apparent reason. My initial idea was to parse some xml, and translate it
into a database. Deleting line after line of code I came up with this short
meaningles program which exhibits the same behavior as its real-life
I'm using regular expressions to parse job titles and I had C# in a pattern
and it was not working correctly. I corrected the problem with C\#. What
does C# match?
Thanks,
Sieg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thomas Bätzler wrote:
Does this get on other people's nerves, too:
There's no policy AFAIK, but I agree that it would be great to have one.
Possibly we could also unsubscribe people who put a vacation message on
their account?
It's always great to reply to someone's post and then get swamped
[EMAIL PROTECTED] wrote:
I am trying to build an array that can be used with GD::Graph
to show the graphical representation of a MySQL query. This module
only takes in an AoA like this:
@data = ([1,2,3,4],[10,20,30,40]); # @arr[$x vals], [$y vals]
It then takes that array and parses it
Please don't cross post.
Peter Rabbitson wrote:
I have a strange problem where a database handle is being destroyed for no
apparent reason. My initial idea was to parse some xml, and translate it
into a database. Deleting line after line of code I came up with this short
meaningles program
If I run the real program I end up stuffing about 480 out of roughly 510
products into a designated table and then the handle goes out to lunch with
the same error message.
What's the error message?
Ups... I guess I missed that:
~$ ./test /dev/null
Issuing rollback() for database
Peter Rabbitson wrote:
If I run the real program I end up stuffing about 480 out of roughly 510
products into a designated table and then the handle goes out to lunch with
the same error message.
What's the error message?
Ups... I guess I missed that:
~$ ./test /dev/null
Issuing
Hello,
Is there a way to write a perl GUI app with out having to run X ?
Michael
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
A question about Win32::OLE. Really need you help!!!
There is a standalone executable written in C/C++.
What I am going to do is to write a perl script to call several
functions available in this executable.
From the following article, I thought the job is very easy.
#10 - Win32::OLE
Thank you. No guarantees, but try setting 'InactiveDestroy' when you
create the DB handle. XML::Twig uses a fork/exec call in 'parseurl' to
retrieve the URL in one process and to parse the XML in the other. When
the retrieval is complete one of the processes closes with an 'exit'. I
think
20 matches
Mail list logo