p5-IO-Null - Perl module for null filehandles

Property Value
Distribution NetBSD 7.1
Repository NetBSD amd64
Package name p5-IO-Null
Package version 1.01nb10
Package architecture amd64
Package type tgz
Installed size 9.07 KB
Download size 6.48 KB
Official Mirror ftp.netbsd.org
This is a class for null file handles. Calling a constructor of this
class always succeeds, returning a new null file handle. Writing to
any object of this class is always a no-operation, and returns true.
Reading from any object of this class is always no-operation, and
returns empty-string or empty-list, as appropriate.
You could say:
open(NULL, '>/dev/null') || die "WHAAT?! $!";
and get a null FH that way.  But not everyone is using an OS
that has a /dev/null
Homepage: http://search.cpan.org/dist/IO-Null/
Categories: devel, perl5


Package Version Architecture Repository
p5-IO-Null-1.01nb10.tgz 1.01nb10 i386 NetBSD
p5-IO-Null - - -


Name Value
perl >=5.28.0<5.30.0


Type URL
Binary Package p5-IO-Null-1.01nb10.tgz
Source Package p5-IO-Null

Install Howto

Install p5-IO-Null tgz package:

# pkg_add p5-IO-Null

See Also

Package Description
p5-IO-Pager-0.40.tgz Perl module for paged I/O to the terminal
p5-IO-Pipeline-0.9.2nb9.tgz Perl 5 module providing map and grep for filehandles, unix pipe style
p5-IO-Pipely-0.005nb5.tgz Portably create pipe() or pipe-like handles, one way or another
p5-IO-Prompt-0.997004nb2.tgz Interactively prompt for user input
p5-IO-Prompter-0.004015.tgz Prompt for, read, vet, chomp, and encapsulate input
p5-IO-SessionData-1.03nb4.tgz Supporting module for SOAP::Lite
p5-IO-Socket-INET6-2.72nb4.tgz Perl object interface for AF_INET/AF_INET6 domain sockets
p5-IO-Socket-Multicast-1.12nb8.tgz Perl multicast socket IO
p5-IO-Socket-SSL-2.060.tgz Perl5 SSL socket interface class
p5-IO-Socket-Timeout-0.32nb3.tgz IO::Socket with read/write timeout
p5-IO-String-1.08nb10.tgz Perl module for I/O on in-core objects like strings and arrays
p5-IO-Stty-0.03nb8.tgz Perl class for I/O on tty devices
p5-IO-Tee-0.65nb1.tgz Multiplex output to multiple output handles
p5-IO-TieCombine-1.005nb3.tgz Perl 5 module to produce tied separate but combined variables
p5-IO-Util-1.50nb10.tgz Selection of general-utility IO function