rakesh1377 has asked for the wisdom of the Perl Monks concerning the following question:

I am Getting following Error. Can't locate loadable object for module Template::Stash::XS. I understand this error is becuase of incompatibility issue of perl 5.6 to 5.8. I am using perl 5.8. Can somebody tell me where will i get Templte Toolkit module compatiable with perl 5.8.

Replies are listed 'Best First'.
Re: Templte Toolkit compatibility issue
by BrowserUk (Patriarch) on Sep 10, 2004 at 13:09 UTC

    It is available here.

    Do

    ppm add rep winnipeg http://theoryx5.uwinnipeg.ca/ppms

    Then search and install in the usual way.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
      when i access URL given by you i get following text on scree nothing else. comprehensive template processing system Andy Wardley <abw@wardley.org> install_tt2
        when i access URL given by you i get following
        Don't "access" the url. Download the file. Its xml.

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

        What BrowserUK was trying to show you is how to get modules from _other_ PPM repositories. If ActiveState's repository doesn't have a particular module, another repository might. He was trying to get you to add Randy Kobes' repository to the list that the ppm utility uses to find modules.

        Start up ppm or ppm3, then type in this command:

        rep add RandyKobes http://theoryx5.uwinnipeg.ca/ppms/
        (I like to use the person's name as the name of the repository, to remember who to thank!)

        Then do a "search template-toolkit". Now you will see a listing for a 5.8 compatible module. You can then do an "install template-toolkit" to get the right thing. If you have confused ppm enough, you might have to say "install template-toolkit -force"

        But this is assuming you are using ActiveState's ActivePerl 5.8 distributions on a Windows box. perrin correctly wonders if this is true - is it? If so, maybe these other notes will help you:
        Re: Installing Modules in Windows
        Re: Installing Modules in Windows
        Problem installing PPM
        Installing modules under win9x
        Win32 5.8 repository (from Randy announcing his repository)
        Modules in the Windows environment

Re: Templte Toolkit compatibility issue
by perrin (Chancellor) on Sep 10, 2004 at 16:09 UTC
    Template Toolkit is compatible with both Perl 5.6 and 5.8, but you must compile it for your system, or use the correct binary distribution if you are on Windows. Are you asking for a 5.8 distribution for Windows?