[27251] in Perl-Users-Digest
Perl-Users Digest, Issue: 9023 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Mar 6 18:07:04 2006
Date: Mon, 6 Mar 2006 15:05:07 -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 Mon, 6 Mar 2006 Volume: 10 Number: 9023
Today's topics:
Is it possible to invoke the debugger from within a pro <news@horrocks.plus.com>
regex substitution problem <dave@deezee-nospam.org>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Mon, 6 Mar 2006 16:33:24 +0000
From: Bruce Horrocks <news@horrocks.plus.com>
Subject: Is it possible to invoke the debugger from within a program
Message-Id: <tsPmPWKURGDEFw1p@horrocks.plus.com>
If I run a program with -d and then use c to continue running, is there
a way to have the program drop into the debugger at the appropriate line
when a run-time warning is displayed?
(This would help hugely because I'm effectively debugging the input data
rather than the program and the warnings can arise at multiple points.
Putting all these points into the necessary 'b <cond>' commands and
editing them every time the line numbering changes as the program is
modified is proving to be a chore.)
Regards,
--
Bruce Horrocks
Surrey
England
<firstname>@<surname>.plus.com -- fix the obvious for email
------------------------------
Date: Mon, 06 Mar 2006 18:23:11 +0000 (GMT)
From: "Dave Saville" <dave@deezee-nospam.org>
Subject: regex substitution problem
Message-Id: <qnirqrrmrrbet.ivqbmn1.pminews@news.aaisp.net.uk>
I have had a good look around and can't find the solution to a problem I have.
CGI script processing ID/password. I have a file of all the ID/Passwords.
I was checking by a foreach down the file with
if ( m/$id $pwd/ ) {.........}
it being a space separator in the file. This worked fine until someone had a
password with a ( in it. Whereupon perl chokes on the (.
Now I know you can get around this in a replace as in s'$foo'$bar' but how can
you do it for a match?
TIA
And before someone says RTFM I don't actually know what it is I would be
looking for in terms of what functionality I want to suppress :-)
--
Regards
Dave Saville
NB Remove -nospam for good email address
------------------------------
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 9023
***************************************