Review My Perl Blog

2014-02-28 Thread Ahmad Bilal
Hi everyone, I have started a personal blog related to perl/cgi. Here: http://simpleperlforweb.blogspot.in/ It is something I'm doing with good intention for the perl community. I don't have vast confidence in my skill, but all I'm doing is, write a few useful scripts, from scratch. Many simple

match not matching

2014-02-28 Thread Bill McCormick
Can somebody help me understand this? Given this loop, and the logged output following ... my $found; for( @$products ) {; $found = $$_ =~ m|$project|; $dump = Data::Dumper->Dump([$_, $project, $$_, $found]); $logger->trace(qq(dump=$dump)); } I can't explain why $found is not true on the

Re: Skipping X Number of Iterations before Stopping on a Break Point

2014-02-28 Thread Martin G. McCormick
Shlomi Fish writes: > Hi Martin, > I know of several options for that: > > 1. Use a package-scope count variable: e.g, do: > > <> > > 2. source a file (see "source" on "perldoc perldebug") that will contain > several "c" statements. > > 3. Maybe try Devel::Trepan instead: > https://metacpan.o

Re: Skipping X Number of Iterations before Stopping on a Break Point

2014-02-28 Thread Shlomi Fish
Hi Martin, On Thu, 27 Feb 2014 15:33:57 -0600 "Martin G. McCormick" wrote: > I am running a script under perl -d and want to break > execution at line 243 in this case. > perl -d scriptname loads the script in to the debugger and b 243 > sets the break point. c then Enter starts the progra