in reply to Re: @ARGV being corrupted
in thread @ARGV being corrupted

Here is a snippet:
if ( $ARGV[$i] eq "devl" ) { print "$ARGV[$i]\n"; }
Thats all the code is. i can actually transplate the specific code and run it seperate and it works fine so what my question is what possibly could have changed in a library, etc that would cause this? maybe a conflict between versions?

Edit by castaway - added code tags

Replies are listed 'Best First'.
Re^3: @ARGV being corrupted
by BrowserUk (Patriarch) on Jul 22, 2004 at 14:33 UTC

    To reiterate others: You need to tell us which operating system you are using; and show us a command line that fails, rather than one that succeeds.


    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, algoritm, algorithm on the code side." - tachyon
Re^3: @ARGV being corrupted
by Anonymous Monk on Jul 22, 2004 at 14:24 UTC
    brackets should be around $i

      <code> ... </code> should be around the code .... the square brackets are parsed by the PM software otherwise.