This is the full code.
push @xsltParams, ('arg', $str);
my $result = $stylesheet->transform_file('abc.xml', @xsltParams);
Without quotes doesn't give error,but $arg not got filled.
In 'abc.xsl',I am supposed to access like this,
<xsl:value-of select="$arg"/>
where $str contains space separated values which I need to separate and print..