in reply to Re: commented out s/// prevents script running!
in thread commented out s/// prevents script running!

Thanks again perlish peeps; I am running perl 5.8.0, I have just tried installing Switch 2.10 and see the same problems. I am about to try the latest version of Perl too. btw; the README for Switch 2.10 did not mention anything RE: uninstalling previous switch versions. So, I installed it over the top of the old switch install. Could this be a problem; IE, Am I still using a pre-2.10 switch as I didnt remove the old switch first?? Thanks, Matt.
  • Comment on Re: Re: commented out s/// prevents script running!

Replies are listed 'Best First'.
Re: Re: Re: commented out s/// prevents script running!
by Anonymous Monk on Mar 03, 2004 at 13:45 UTC
    I havent yet tried with perl 5.8.3, so I am still running 5.8.0, but i + did this; perl -d tsm_processjob.cgi and the debugger say's; Switch::filter_blocks(/usr/lib/perl5/5.8.0/Switch.pm:94 94: component: while (pos $source < length $source) 95: { Does this give anyone any hints?? also, regarding perl 5.8.3, I did a succesful make, install, from the +perl source distribution etc.. but I can still only find 5.8.0 on my +system. What gives? Thanks, Matt.
      ok, figured out a way of getting 5.8.3 invoked instead of 5.8.0 .. but, and this is a big but, *cries* do I _have_ to install all of my modules again??!

        Fire up perl5.8.0 -MCPAN -e shell and use autobundle to create a Bundle for your old installation; fire up perl5.8.3 -MCPAN -e shell and install the created Bundle (Something like Bundle::Snapshot_2004_03_03_00.pm), lean back and let perl do the work ;-)

        regards,
        tomte


        Hlade's Law:

        If you have a difficult task, give it to a lazy person --
        they will find an easier way to do it.

        figured out a way of getting 5.8.3 invoked instead of 5.8.0 .. but, and this is a big but, *cries* do I _have_ to install all of my modules again?

        Short answer: yes.

        Longer answer: if the modules don't use XS, you might be able to avoid re-installing them by messing with @INC, but this is probably not recommended if you don't know what you're doing. Fire up perl -MCPAN -e shell and install your modules again -- that's the easy way.


        ;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print