I know I can make QueueAction take an argument list for passing to the serialized subroutine. Just trying to avoid it.sub RemoveThing { my $thingid = shift(); # QueueAction serializes it's first argument QueueAction(\&Handlers::thing_remove()) } package Handlers; sub thing_remove { database foo to remove $thingid; }
In reply to Re: Re: Re: coderefs and storable
by amw1
in thread coderefs and storable
by amw1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |