in reply to Re^7: Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?
in thread Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?

Combining my with if/unless often leads to buggy behavior and is definitely not a "best practice". Things like the strange behavior of my $x if 0 (which is often used for "tricks") have been deprecated since 5.9.1 and will be removed eventually.
  • Comment on Re^8: Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?
  • Download Code