I've just recently upgraded my ancient Apache and TT 2.03 to a nice gleaming new TT 2.06. I built TT from withing the CPAN module using the defaults, apart from picking the XS Stash, (it was the claim of performance benefits that swayed me :-)).
I had this little snippet of code which always used to work with the older version: [%- PERL %] use Image::Size; use vars qw( $x $y ); ( $x, $y ) = imgsize( $stash->get( 'wroot' )."/".$stash->get( 'date' ).".png" ); $stash->set( 'x', $x ); $stash->set( 'y', $y ); [% END %] ...not elegant by any stretch of the imagination, but it worked. Now any reference to using $stash causes a segmentation fault. I've tried reverting back to the good ol' Stash module, and it still happens. Have I missed some major conversion step between 2.03 and 2.06 for using the stash inside [% PERL %] blocks? Cheers Matt -- "Phase plasma rifle in a forty-watt range?" "Only what you see on the shelves, buddy."
