[Omaha.pm] Perl syntax on it's head #2
Jay Hannah
jay at jays.net
Sun Mar 30 08:13:33 PDT 2008
I'm playing with POE for the first time. It does stuff like this:
sub accept_handler {
my ($socket, $remote_address, $remote_port) = @_[ARG0, ARG1, ARG2];
}
Which is explained here:
http://poe.perl.org/?POE_FAQ/calling_convention
This is the second time this year I've had the Perl syntax part of my
brain jolted. The first time was Catalyst, which does this:
sub end : ActionClass('RenderView') {}
Which is explained here:
http://www.perlmonks.org/?node_id=631931
Building new synapses, :)
j
More information about the Omaha-pm
mailing list