Marcus wrote:

> On 30.11.01 at 14:49 Dick Penny wrote:
> 
>>Also how to get the path to the script that is currently executing?
>>
> 
> I think you mean:
> 
> $home_dir = $^X;


That's where you find Perl.


I think he wants:

        print "script name: $0\n";

        use FindBin qw($RealScript $RealDir);
        print "fully qualified script name: $RealDir/$RealScript\n";

Under CGI:

        $ENV{SCRIPT_FILENAME}

-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to