<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - FindBin Does Not Work - Comments</title>
 <link>http://community.activestate.com/forum-topic/findbin-does-not-work</link>
 <description>Comments for &quot;FindBin Does Not Work&quot;</description>
 <language>en</language>
<item>
 <title>Findbin, $0</title>
 <link>http://community.activestate.com/forum-topic/findbin-does-not-work#comment-5073</link>
 <description>&lt;p&gt;Anybody?  Why no findbin and no $0 or $PROGRAM_NAME?
&lt;p&gt;Is there a way to get the script name that doesn&#039;t require using the $Request object?&lt;/p&gt;
</description>
 <pubDate>Thu, 17 Apr 2008 02:43:57 +0100</pubDate>
 <dc:creator>ent</dc:creator>
 <guid isPermaLink="false">comment 5073 at http://community.activestate.com</guid>
</item>
<item>
 <title>FindBin Does Not Work</title>
 <link>http://community.activestate.com/forum-topic/findbin-does-not-work</link>
 <description>&lt;p&gt;Can anyone tell me why FindBin doesn&#039;t work for me?  Here is my whole&lt;br /&gt;
script:&lt;/p&gt;
&lt;p&gt;&amp;lt;% @LANGUAGE=&quot;PerlScript&quot; %&amp;gt;&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
use FindBin;&lt;br /&gt;
%&amp;gt;&lt;/p&gt;
&lt;p&gt;Here&#039;s the error message:&lt;/p&gt;
&lt;p&gt;Error Type: PerlScript Error (0x80004005)&lt;br /&gt;
Cannot find current script &#039;&#039; at C:/Perl/lib/FindBin.pm line 206&lt;br /&gt;
BEGIN failed--compilation aborted at C:/Perl/lib/FindBin.pm line 206.&lt;br /&gt;
Compilation failed in require at (eval 2) line 1.&lt;br /&gt;
BEGIN failed--compilation aborted (in cleanup)&lt;br /&gt;
Cannot find current script &#039;&#039; at C:/Perl/lib/FindBin.pm line 206&lt;br /&gt;
BEGIN failed--compilation aborted at C:/Perl/lib/FindBin.pm line 206.&lt;br /&gt;
Compilation failed in require at (eval 2) line 1.&lt;br /&gt;
BEGIN failed--compilation aborted&lt;br /&gt;
/jwatch/woof.asp, line 3&lt;/p&gt;
&lt;p&gt;Also, $0 returns nothing.  This is running on a Windows 2000 box.&lt;br /&gt;
Would this happen if my sysadmin didn&#039;t install the package using&lt;br /&gt;
Admin privileges?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/findbin-does-not-work#comments</comments>
 <category domain="http://community.activestate.com/forums/activeperl-support-0">ActivePerl Support</category>
 <category domain="http://community.activestate.com/os/windows-2000-pro-server">Windows 2000 Pro / Server</category>
 <pubDate>Sun, 17 Feb 2008 09:44:45 +0000</pubDate>
 <dc:creator>ent</dc:creator>
 <guid isPermaLink="false">1934 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
