in reply to Use of Carp outside of package won't compile...
My dim understanding of the issue is that the package Test declaration introduces the “‘Package’ namespace.” Prior to that point, the default package-name (which is main) was in effect.
The qw() statement exposes these variables into the “then-current” namespace... which changed mid-stream.
(Post edited as suggested by ikegami. Thx.)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of Carp outside of package won't compile...
by Fletch (Bishop) on Dec 18, 2007 at 17:09 UTC |