On Jan 14, 2014, at 4:04 PM, John SJ Anderson wrote: > I'm not sure exactly when that syntax was added, but for what it's > worth, it fails with 5.10.1 here too. Perl 5.12.5, on the other hand, > works. > > You may just need to upgrade.
Thanks for the test, John. In the book's example, they have: use v5.10; so I thought I was new enough, but maybe not. I've resorted to adding: use vars '$VERSION'; $VERSION = '1.01'; after the package declaration. That works, but it's just not as clean looking. Not a big deal, though. Thanks again, Frank http://www.surfshopcart.com/ Setting up shop has never been easier! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/