[FFmpeg-devel] [PATCH 2/5] [FATESERVER] index: move $params declaration to lsort()
Timothy Gu
timothygu99 at gmail.com
Mon Jun 2 23:48:32 CEST 2014
On Mon, Jun 2, 2014 at 7:16 AM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> On 6/1/2014 12:45 AM, Timothy Gu wrote:
>> -my $params = join '&', map param($_), grep $_ !~ 'sort', param;
>> -$params .= '&' if $params;
>> -
>> sub lsort {
>> + my $params = join '&', map param($_), grep $_ !~ 'sort', param;
>> + $params .= '&' if $params;
>
> How does this even work? $_ is different inside a global context or subroutine.
Did you mean @_? $_ is set by `map`.
Timothy
More information about the ffmpeg-devel
mailing list