develooper Front page | perl.perl5.porters | Postings from March 2000

INIT processing in 5.6.0

Thread Next
From:
Pete Jordan
Date:
March 31, 2000 07:15
Subject:
INIT processing in 5.6.0
Message ID:
38E4C0E1.3A17D77E@virginmobile.com
Is 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
contains a C<use Error> and Error.pm contains an INIT block.

All this is fine with 5.005_03, but I get the following with 5.6.0:

Too late to run INIT block at
/usr/local/lib/perl5/site_perl/Horus/Error.pm line 217, <RC> line 30.

The module is loaded in the following context:

	{
	  package PSH;
	  no strict;
	  use strict 'subs';
	  eval $_;
	  die "$_: $@\n" if $@;
	}

Comments?

Pete Jordan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About