On Fri, Nov 16, 2012 at 12:44 PM, Brandon McCaig <bamcc...@gmail.com> wrote: > On Fri, Nov 16, 2012 at 10:10:14AM -0600, boB Stepp wrote: >> However, I am still puzzled why if I run the script from the >> command line (not Padre) with Strawberry 5.16, say works >> without a hitch without the need for a use pragma. > > If you are using -E instead of -e then that would explain it. See > perldoc perlrun for the -E option. :) >
I did not run perl with either switch. However, it was educational to read about these! I believe that I have cleared up my puzzlement. As usual, operator error (mine of course) was the problem. In Padre, I was flipping back and forth between two similarly named files, while at the same time commenting and uncommenting lines. I now suspect that I had failed to save before running one of these changed files from the command line. After deleting said files and starting from scratch with a clearer head, all is working as the documentation says it should, both running from within Padre and running from the command line. Thanks for your help and patience! boB -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/