Sys::Mknod - make special files
use Sys::Mknod; mknod ("/dev/filename", type, $major, $minor, $mode); mkfifo ("filename", $mode);
mknod - creates special files. Why use system() when you can use syscall()?
$mode is the resultant file mode, and defaults to 0666. It does not override your umask.
$type must be one of:
Creates a "Character Special" device.
Creates a "Block Special" device"
Sam Vilain, <sam@vilain.net>
perlfunc, mknod(2), mknod(1), mkfifo(1)
To install Sys::Mknod, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::Mknod
CPAN shell
perl -MCPAN -e shell install Sys::Mknod
For more information on module installation, please visit the detailed CPAN module installation guide.