in reply to Re: Launch terminal in MAC and PC
in thread Launch terminal in MAC and PC

Yes i want to know the env i'm working. Checked $^O and not useful data was available

Users-MacBook-Pro:~ User$ perl -e print $^O Users-MacBook-Pro:~ User$

Replies are listed 'Best First'.
Re^3: Launch terminal in MAC and PC
by Corion (Patriarch) on Oct 31, 2014 at 12:08 UTC

    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.