Setting $0 breaks FindBin #7

Closed
miyagawa opened this Issue Apr 20, 2010 · 2 comments

Projects

None yet

2 participants

@miyagawa
Owner

Setting $0 to starman master breaks the app loading FindBin.

@yannk

try Find::Lib ? :)

@miyagawa
Owner

delay setting $0 in master. Closed by 69a6600

@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa delay setting $0 in master. Fixes gh-7 69a6600
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2004.
Changelog diff is:

diff --git a/Changes b/Changes
index 51eccca..115d403 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Starman

+0.2004 Tue Apr 20 21:22:31 JST 2010
+        - Delay set $0 in master so FindBin works. #7
+
 0.2003 Mon Apr 19 15:19:06 JST 2010
         - Upped Plack dependency
b06ff0d
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2005.
Changelog diff is:

diff --git a/Changes b/Changes
index 115d403..d84de99 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Starman

+0.2005 Fri Jul  2 17:02:16 PDT 2010
+        - Don't use lib 'lib'
+        - Documentation updates (miyagawa, grantm)
+
 0.2004 Tue Apr 20 21:22:31 JST 2010
         - Delay set $0 in master so FindBin works. #7
9b02f43
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2008_1.
Changelog diff is:

diff --git a/Changes b/Changes
index 9d3feb4..8088c4c 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Starman

+0.2008_1
+        - Requires Plack 0.9971 to support localizing $0 to fix the FindBin issues #7, #15, #18, #19
+        - Calls srand() automatically in the child init hook to avoid a fixed random seed #20
+
 0.2008  Mon Feb 14 17:19:20 PST 2011
         - Documented that -E is automatically set to 'deployment' RT:61517 (timbunce)
         - Check the defined-ness of the input buffer to suppress warnings RT:60007
73fb5ae
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2008_2.
Changelog diff is:

diff --git a/Changes b/Changes
index 8088c4c..e1ee873 100644
--- a/Changes
+++ b/Changes
@@ -1,8 +1,9 @@
 Revision history for Perl extension Starman

-0.2008_1
+0.2008_2
         - Requires Plack 0.9971 to support localizing $0 to fix the FindBin issues #7, #15, #18, #19
         - Calls srand() automatically in the child init hook to avoid a fixed random seed #20
+        - Implemented --keepalive-timeout which defaults to 1 (acme)

 0.2008  Mon Feb 14 17:19:20 PST 2011
         - Documented that -E is automatically set to 'deployment' RT:61517 (timbunce)
982d5b4
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2009.
Changelog diff is:

diff --git a/Changes b/Changes
index e1ee873..add4ebe 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
 Revision history for Perl extension Starman

-0.2008_2
+0.2009  Fri Mar 25 19:15:23 PDT 2011
         - Requires Plack 0.9971 to support localizing $0 to fix the FindBin issues #7, #15, #18, #19
         - Calls srand() automatically in the child init hook to avoid a fixed random seed #20
         - Implemented --keepalive-timeout which defaults to 1 (acme)
765b0ac
@clkao clkao pushed a commit to clkao/Starman that referenced this issue Jun 30, 2012
@miyagawa Checking in changes prior to tagging of version 0.2010.
Changelog diff is:

diff --git a/Changes b/Changes
index add4ebe..db43c07 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 Revision history for Perl extension Starman

+0.2010  Mon Mar 28 16:23:23 PDT 2011
+        - Fixed packaging. No changes.
+
 0.2009  Fri Mar 25 19:15:23 PDT 2011
         - Requires Plack 0.9971 to support localizing $0 to fix the FindBin issues #7, #15, #18, #19
         - Calls srand() automatically in the child init hook to avoid a fixed random seed #20
0cdc8e4
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment