Subject: | argument not as docs specifiy |
Invoked with this
$poe_kernel->post( PreforkDispatch => 'new_request', {
method => 'thumbnail'
, params => [ "$uri" ]
, verbose => 1
});
The method thumnail gets these arguments:
STDERR:2 thumbnail: ---
STDERR:2 thumbnail: - local
STDERR:2 thumbnail: -
http://api.cdmdata.com/ftproot/dealerfiles/9088/Photos/1GCEC19V16Z242351-1.jpg
STDERR:2 thumbnail: ...
The synopsis seems to say the argument order is
my ($kernel, $heap, $request, $result) = @_[KERNEL, HEAP, ARG0, ARG1];
Which isn't what I'm seeing. The first arugment I'm getting is 'local',
the second is the argument sent in the params.