On Fri, Jul 13, 2012 at 1:17 PM, Manfred Lotz <manfred.l...@arcor.de> wrote:
> But if I'm using it in a subroutine then 'use bytes' is only effective
> in the scope of the subroutine, isn't it? That is how I would use it
> preferably.

Yeah, it appears that way. "use" is a compile time event (require is
runtime) so I was thinking it wouldn't be scoped that way but it does
appear that it stays in scope so you don't need belts and a suspender,
er, the 'no bytes' un-pragma.

-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to