Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
There's more than one way to do things
 
PerlMonks  

Re: Bug in 'strict'??

by TheoPetersen (Priest)
on Apr 05, 2001 at 13:53 UTC ( [id://70096]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Bug in 'strict'??

I've tried this on two platforms (SCO and RH Linux) with two versions of Perl (5.005_03 and 5.6 respectively) and can't produce the bug; I get the same behavior in either case. I'm using the original code as posted (though I cut everything after the open) and ensured that my parameter matched the regex.

What are your platform's vital statistics, out of curiousity?

I'm curious if varying the regex or doing without it will affect the problem. Have you tried doing the same thing via another means? A split on a literal delimiter or some such?

Update: after a flurry of /msgs we established that the script works correctly from the command line but not when run from VN Server. It does display the correct version of Perl in the latter case. I'm stumped as to what the server could do to induce this error.

..Theo

Replies are listed 'Best First'.
Re: Re: Bug in 'strict'??
by Jouke (Curate) on Apr 05, 2001 at 14:01 UTC
    We're running on Debian Linux with VN Server as webserver (don't ask me why they do here), but no Apache...perl is 5.005_03.

    Jouke Visser, Perl 'Adept'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://70096]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.