On 2009-03-31 21:31:41 +0300, Niko Tyni wrote: > > > use vars qw($Archive::Tar::WARN); > > > > This doesn't seem to be documented and may be annoying if there > > are lots of variables. Also, if the module gets renamed and the > > user modifies only the "require" line, this will defeat the purpose > > of the warning. > > It's certainly documented, see 'perldoc vars'. But yes, possibly > not the best way to solve this.
OK, but without knowing this feature first, it's a bit difficult to guess the right command to type: "perldoc -f use" doesn't even mention it. Anyway I think that the reason is that this pragma is documented as obsolete by "perldoc vars". So, one should not use it. -- Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

