in reply to commented out s/// prevents script running!

What version of Perl Are you running? I tried your script here (This is perl, v5.8.3 built for i386-linux-thread-multi), uncommented your loop, and perl -wc reports no problems with your s// statement either active, OR commented out. The only other change I did was to fix this error message:
Unquoted string "carsington" may clash with future reserved word at /home/matija/downloads/index.pl line 39
by quoting the word carsington.

I'm getting a few called too early to check prototype errors, and two used only once errors, but no syntax errors.

  • Comment on Re: commented out s/// prevents script running!

Replies are listed 'Best First'.
Re: Re: commented out s/// prevents script running!
by Anonymous Monk on Mar 03, 2004 at 12:25 UTC
    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.
      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??!