Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^7: NO PERL 6

by Elian (Parson)
on Dec 10, 2002 at 23:06 UTC ( #218947=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re^2: NO PERL 6
in thread NO PERL 6

No, since the change won't make it out of the eval block, and the changes are done at runtime anyway. You need a use. The changes have to be in place at compile time to take effect.


Comment on Re^7: NO PERL 6
Re: Re^7: NO PERL 6
by jryan (Vicar) on Dec 10, 2002 at 23:26 UTC

    However, if the modifications to the parser are made in a BEGIN block, won't the changes go out of scope once the block is finished?

    Maybe some sort of new block (maybe PARSE) could be created, such that it acts like a BEGIN block, but changes made within the block do not go out of scope when the block is finished?

      That's why they get pushed out a level of scope.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://218947]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-10-21 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls