You will need to learn about your shell and quoting. It's better to run such a program from a file if you are not sure how your command line shell behaves.
You can try
perl -wl -e 'print $^O'
instead. Note the single quotes that tell Perl the program. Also see perlrun for -e.
In reply to Re^3: Launch terminal in MAC and PC
by Corion
in thread Launch terminal in MAC and PC
by waytoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |