in reply to Re: Is it possible to write a sub that understand default variables ?
in thread Is it possible to write a sub that understand default variables ?


I had to look up the perl 5.10 documentation - found this in perldoc perlsub
As the last character of a prototype, or just before a semicolon,
you can use "_" in place of "$":
if this argument is not provided, $_ will be used instead.
  • Comment on Re^2: Is it possible to write a sub that understand default variables ?
  • Download Code