dda has asked for the wisdom of the Perl Monks concerning the following question:
Probably it is not a perl question, but.. I can't understand how "^" symbol is handled in Windows command line here:
D:\TEMP>perl -e "print shift" q^w qw D:\TEMP>perl -e "print shift" q^^w q^w D:\TEMP>perl -e "print shift" q^^^w q^w
Under unix it always prints argument unchanged.
Also, the followng code perl -e "print $ARGV[0]" prints nothing in Windows, and prints ARRAY(0x80fbdcc) in linux..
--dda
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Windows command line
by BrowserUk (Patriarch) on Oct 18, 2003 at 16:10 UTC | |
by Thelonius (Priest) on Oct 18, 2003 at 17:13 UTC | |
by demerphq (Chancellor) on Oct 18, 2003 at 17:59 UTC | |
by BrowserUk (Patriarch) on Oct 18, 2003 at 18:37 UTC | |
by demerphq (Chancellor) on Oct 18, 2003 at 21:01 UTC | |
by CountZero (Bishop) on Oct 19, 2003 at 08:57 UTC | |
by tye (Sage) on Oct 22, 2003 at 18:41 UTC | |
by BrowserUk (Patriarch) on Oct 22, 2003 at 23:31 UTC | |
| |
|
Re: Windows command line
by pg (Canon) on Oct 18, 2003 at 15:44 UTC | |
by BrowserUk (Patriarch) on Oct 18, 2003 at 17:02 UTC | |
by dda (Friar) on Oct 18, 2003 at 15:58 UTC |