p5-IO-Null-1.01nb11.tgz


Advertisement

Description

p5-IO-Null - Perl module for null filehandles

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-IO-Null-1.01nb11.tgz
Package name p5-IO-Null
Package version 1.01nb11
Package release -
Package architecture amd64
Package type tgz
Category devel perl5
Homepage https://metacpan.org/release/IO-Null
License -
Maintainer -
Download size 6.69 KB
Installed size 9.07 KB
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

Alternatives

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

Requires

Name Value
perl >= 5.30.0 < 5.32.0

Download

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