in reply to get binary executing my script

How about $^X?

perl -e" print $^X "

yields

C:\Perl\bin\perl.exe

On Windows. (obviously)

Replies are listed 'Best First'.
Re^2: get binary executing my script
by prashanthch (Novice) on Mar 16, 2012 at 19:06 UTC
    that worked, thank you so much