You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Patrick Buckingham <pb...@dreamstate.com> on 2001/11/29 06:06:16 UTC
Apache::MP3::Skin and PerlSetVar
I just install Apache::MP3 and it works fine but if I try to use ::Skin
I get these messages for PerlSetVar
"PerlSetvar takes two arguments Perl config var and value" This does
this with ::Sortlist also. But with the straight MP3 modules I can use
PerlSetVar
SetHandler perl-script
PerlHandler Apache::MP3::Skin
PerlSetVar CacheDir /usr/tmp/mp3_cache
PerlSetVar SortFields Album,Title,-Duration
PerlSetVar HomePath /sounds # optional
PerlSetVar DefaultSkin default.tmpl # required
This is the config
Thanks,
Patrick
Re: Apache::MP3::Skin and PerlSetVar
Posted by Jason Galea <j...@eightdegrees.com.au>.
Patrick Buckingham wrote:
> I just install Apache::MP3 and it works fine but if I try to use ::Skin
> I get these messages for PerlSetVar
>
> "PerlSetvar takes two arguments Perl config var and value" This does
> this with ::Sortlist also. But with the straight MP3 modules I can use
> PerlSetVar
>
> SetHandler perl-script
> PerlHandler Apache::MP3::Skin
> PerlSetVar CacheDir /usr/tmp/mp3_cache
> PerlSetVar SortFields Album,Title,-Duration
> PerlSetVar HomePath /sounds # optional
> PerlSetVar DefaultSkin default.tmpl # required
>
> This is the config
>
>
> Thanks,
>
> Patrick
>
> .
>
>
try taking out the comments, ie "# optional" & "# required" (or just
move them to a separate line) - it's worked for me before.. I don't
think PerlSetVar recognises the # as the start of a comment.
--
J
Web Developer
Eight Degrees Off Centre
http://www.eightdegrees.com.au/