bpa wrote:
> I can'rt remember my perl very well but the compiler is flagging line
> 245 of Plugin.pm and you seem to be running an oldish version of Perl
>
> >
Code:
--------------------
> >
> my $clen = $req->header('content-length') // 0;
>
--------------------
> >
>
> "//" means Logical OR but in older versions of Perl "//" is not
> supported as logical OR only "||"
>
> I suggest editing Plugin.pm and changing // to || and see if it
> works.
>
> edit:
>
> Just checked in Perl 5.10 "//" is new and the defined OR operator so
> the correct version of 245 for Perl 5.8
> my $clen = defined($req->header('content-length')) ?
> $req->header('content-length') : 0;
You're a star :D
I modified that line and the plugin has now loaded. I was dreading
having to brush up on some perl :/
I'm not seeing it as an airplay device on my iDevices though, but I
imagine its probably firewall or some network config problem. They're
all iOS devices, so I assume IPV6 being on in Avahi.conf isn't the
problem. But i'll have a fiddle and see if I can solve it.
------------------------------------------------------------------------
mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins