http://qs321.pair.com?node_id=139128


in reply to Re^2: Command line tool coding style?
in thread Command line tool coding style?

I did indeed miss can in my first couple of reads.

This isn't how I'd usually do things, but I'm warming to the approach. It does beat maintaining an extra list and it's prettier than autogenerating a list of methods from the symbol table.

The warnings pragma will not call srand for you, but any version of Perl recent enough to have that pragma will automatically call srand when necessary. They're not related, and 5.5.3 (without warnings) does call srand automatically. I should have explained it that way initially.

  • Comment on Re: Re: Re: Command line tool coding style?