New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
INIT processing in 5.6.0 #1674
Comments
From pete.jordan@virginmobile.comIs this a bug, a bugfix or just a random change in behaviour? I have a homebrew psh here that reads a .pshrc at startup. This latter All this is fine with 5.005_03, but I get the following with 5.6.0: Too late to run INIT block at The module is loaded in the following context: { Comments? Pete Jordan |
From @TimToadyPete Jordan writes: I suspect it's being needlessly restrictive. Seems to me the only In short, I think we should ignore the time-travel paradoxes, and try However, (thinking down the road a bit here) if at runtime a late CHECK Larry |
From [Unknown Contact. See original ticket]Larry Wall <larry@wall.org> writes:
That would be my expectation if I came to this "cold" and seems like But just to record historical behaviour prior to 5.6.0's addition
There is a small chance that running it will cause problems for
|
From [Unknown Contact. See original ticket]Larry Wall <larry@wall.org> wrote:
This sounds right to me - it seems unreasonable to prevent the loading of Pete at home |
From hv@hugo.hybyte.comLarry suggested the 'too late for INIT block' bahaviour was needlessly Hugo [0] http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2000-04/msg00081.html |
From p5p@spam.wizbit.beOn Wed Oct 11 01:19:16 2000, hv@hugo.hybyte.com wrote:
The code in question basically is: #!/usr/bin/perl -l use strict; print "before init"; __END__ Still present in blead (5.11.0). |
@chorny - Status changed from 'open' to 'stalled' |
@cpansprout - Status changed from 'stalled' to 'open' |
From @jkeenanOn Sat Aug 02 02:30:47 2008, animator wrote:
And present with 'say' in 5.18.0 as well: ##### |
Still present in 5.35.12 |
Migrated from rt.perl.org#2917 (status was 'open')
Searchable as RT2917$
The text was updated successfully, but these errors were encountered: