On Wed, 16 Jan 2002, Michael G Schwern wrote:
>On Wed, Jan 16, 2002 at 08:45:26AM +0100, Paul Johnson wrote:
>> The fundamental problem here is that BEGIN blocks have to run when they
>> are compiled. This is documented. You can try to work out whether the
>> BEGIN blocks can be rearranged and
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Mon, Jan 14, 2002 at 11:43:24PM +, Piers Cawley wrote:
>> > What's left?
>>
>> What about begin blocks with side effects. How do you propose
>> detecting the side effects. How do you deal with things that may
>> dispatch to different subrout
Michael G Schwern <[EMAIL PROTECTED]> writes:
> If there's Perl->C translation issue as to why that's not possible,
> ok. But I know from a B standpoint all the information is there to
> handle BEGIN blocks.
No, it isn't.
--
Piers
"It is a truth universally acknowledged that a language in
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Mon, Jan 14, 2002 at 10:38:36PM +, Piers Cawley wrote:
>> >> Deferring BEGIN blocks 'til runtime will break rather more realworld
>> >> program than it fixes I think.
>> >
>> > Where is deferring involved?
>>
>> Err... it goes like this:
>>
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Mon, Jan 14, 2002 at 04:16:49PM +, Piers Cawley wrote:
>> Michael G Schwern <[EMAIL PROTECTED]> writes:
>>
>> > On Mon, Jan 14, 2002 at 10:23:46AM +, Piers Cawley wrote:
>> >> Um... You're wrong. If you do need 'startup time' initializat
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Mon, Jan 14, 2002 at 10:23:46AM +, Piers Cawley wrote:
>> Um... You're wrong. If you do need 'startup time' initialization then
>> you should do it in an INIT block. If I may quote from the
>> documentation:
>
> Like it or not, people put lot
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Sun, Jan 13, 2002 at 10:04:58PM +0100, Mattia Barbon wrote:
>> > $ bleadperl -MO=-qq,Deparse foo.plx
>> > sub BEGIN {
>> > print "foo\n";
>> > }
>> > print "bar\n";
>> >
>> > If B::Deparse can save BEGIN blocks, B::C can.
>>
>> I didn't mean