NAME
Lexical::Typeglob - Like Symbol except without globals
SYNOPSIS
use Lexical::Typeglob 'lexglob';
my $glob = lexglob();
open $glob, 'filename';
$_ = $glob;
# etc.
DESCRIPTION
Lexical::Typeglob::lexglob
creates an anonymous glob and returns a reference to it. Such a glob reference can be used as a file or directory handle. This differs from Symbol::gensym
only in that the glob has no symbol table component and the glob generation is four times as fast.
AUTHOR
Joshua b. Jore, <jjore@cpan.org>
SEE ALSO
COPYRIGHT AND LICENSE
Copyright 2003, Joshua b. Jore. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation; version 2, or
b) the "Artistic License" which comes with Perl.