in reply to Declaring a code ref with arguments
%hash = (no_arg => \&print_me, with_arg => sub {print_me "Hello World, again\n"}, );
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Declaring a code ref with arguments
by !unlike (Beadle) on Aug 05, 2003 at 09:30 UTC |