in reply to Re: Calling subroutine syntax
in thread Calling subroutine syntax

I had a quick read through the perldoc man page for it and was thinking similar things. My thoughts at the time were "I'll have to come back and have a thorough read through this because I'm not seeing a great use of it right now".

Dean
The Funkster of Mirth
Programming these days takes more than a lone avenger with a compiler. - sam
RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers

Replies are listed 'Best First'.
Re: Re: Re: Calling subroutine syntax
by BUU (Prior) on May 02, 2004 at 07:36 UTC
    As TomDLux alluded to above, the only real point is to simulate perl "builtins". For example a grep replacement would look like sub map2(&@) (as I recall) and let you do stuff like  map2 { foo bar } @baz