SPUG: Understanding RUID EUID and modules (fwd)

John W. Krahn krahnj at telus.net
Wed May 16 12:51:40 PDT 2007


John Costello wrote:
> 
> So, do modules have their own $< and $>, copied from the main script?  Are 
> modules run as separate processes?  Where would be a good spot to start 
> reading (Programming Perl?)?

Some of Perl's special variables are package scoped variables and some are
global.  Unfortunately the documentation does not specify the scope of $< and
$> but I would have to assume from your experiment that they probably have
package scope.

perldoc perlvar


John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall


More information about the spug-list mailing list