Re: Debug when script WILL NOT RUN

2015-02-01 Thread Shawn H Corey
On Sun, 01 Feb 2015 18:07:18 -0500 Harry Putnam wrote: > Shawn H Corey writes: > > > On Sun, 01 Feb 2015 11:12:46 -0500 > > Harry Putnam wrote: > > > >> Shawn H Corey writes: > >> > >> > http://metacpan.org/pod/Perl::Critic > >> > >> Feeding my sorry script to the advertised webpage like

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Shawn H Corey writes: > On Sun, 01 Feb 2015 11:12:46 -0500 > Harry Putnam wrote: > >> Shawn H Corey writes: >> >> > http://metacpan.org/pod/Perl::Critic >> >> Feeding my sorry script to the advertised webpage like by using the >> posted method of testing Perl::Critic with no installation. >

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Paul Johnson writes: > On Sun, Feb 01, 2015 at 09:56:39AM -0500, Harry Putnam wrote: >> Robert Wohlfarth writes: >> >> > On Sat, Jan 31, 2015 at 3:58 PM, Harry Putnam wrote: >> > >> > I have about 100 lines or so inside a File::Find: > > You will likely help yourself out a lot with not only th

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Paul Johnson
On Sun, Feb 01, 2015 at 09:56:39AM -0500, Harry Putnam wrote: > Robert Wohlfarth writes: > > > On Sat, Jan 31, 2015 at 3:58 PM, Harry Putnam wrote: > > > > I have about 100 lines or so inside a File::Find: You will likely help yourself out a lot with not only this problem but others that you do

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Shawn H Corey
On Sun, 01 Feb 2015 11:12:46 -0500 Harry Putnam wrote: > Shawn H Corey writes: > > > http://metacpan.org/pod/Perl::Critic > > Feeding my sorry script to the advertised webpage like by using the > posted method of testing Perl::Critic with no installation. I have installed Perl::Critic on my

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Shawn H Corey writes: > http://metacpan.org/pod/Perl::Critic Feeding my sorry script to the advertised webpage like by using the posted method of testing Perl::Critic with no installation. $> lwp-request -m POST http://perlcritic.com/perl/critic.pl < MyModule.pm $> wget -q -O - --post-file

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Shlomi Fish
Hi Harry, On Sat, 31 Jan 2015 16:58:48 -0500 Harry Putnam wrote: > I've given myself a headache googling on how to debug a perl script > that does not run. > > Maybe `debug' is the wrong word... I'd love to know if there is a more > accurage one. > > I realize this post is quite a lot of yak,

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Charles DeRykus writes: [...] > One good sleuthing tool is perltidy (perltidy.sourceforge.net) which is good > at unraveling a rat's nest of errors to tease out the culprit: > > For instance, you'd run: perltidy badlywrittenscript.pl and might get > an error diagnostic file that'd say something

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Shawn H Corey writes: > On Sun, 1 Feb 2015 00:10:30 -0800 > Charles DeRykus wrote: > >> One good sleuthing tool is perltidy (perltidy.sourceforge.net) which >> is good at unraveling a rat's nest of errors to tease out the >> culprit: > > You can also download and install with `cpan`: [...] Lo

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Harry Putnam
Robert Wohlfarth writes: > On Sat, Jan 31, 2015 at 3:58 PM, Harry Putnam wrote: > >> [snip...] > > I have about 100 lines or so inside a File::Find: >> >> find ( >> sub { >> }, $tdir; >>); >> [snip...] >> which looks like this ... snipped: >> >> [...] >> >> }

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Shawn H Corey
On Sun, 1 Feb 2015 14:08:24 + (UTC) ThankGod Ebenezer wrote: > Please can you remove me from this list? No. But see the link below; the one marked "unsubscribe". :) -- Don't stop where the ink does. Shawn -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional c

Re: Debug when script WILL NOT RUN

2015-02-01 Thread ThankGod Ebenezer
Hello, Please can you remove me from this list? Regards,ThankGod On Sunday, 1 February 2015, 13:16, Shawn H Corey wrote: On Sun, 1 Feb 2015 00:10:30 -0800 Charles DeRykus wrote: > One good sleuthing tool is perltidy (perltidy.sourceforge.net) which > is good at unraveling a rat's ne

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Shawn H Corey
On Sun, 1 Feb 2015 00:10:30 -0800 Charles DeRykus wrote: > One good sleuthing tool is perltidy (perltidy.sourceforge.net) which > is good at unraveling a rat's nest of errors to tease out the > culprit: You can also download and install with `cpan`: cpan Perl::Tidy Another good tool to ha

Re: Debug when script WILL NOT RUN

2015-02-01 Thread Charles DeRykus
On Sat, Jan 31, 2015 at 1:58 PM, Harry Putnam wrote: > I've given myself a headache googling on how to debug a perl script > that does not run. > > Maybe `debug' is the wrong word... I'd love to know if there is a more > accurage one. > > I realize this post is quite a lot of yak, but hoping someo