Device::Moose::SCSI - Reimplementation of Device::SCSI with Moose.
use Device::Moose::SCSI; my $device = Device::Moose::SCSI->new(device => "/dev/sg0"); # INQUIRY my $inquiry = $device->inquiry(); # TESTUNITREADY my ($result, $sense) = $device->execute ( command => pack("C x5", 0x00) , wanted => 32 );
Device::Moose::SCSI reimplementation of Device::SCSI using Moose.
Device::Moose::SCSI
See Device::SCSI for detail information.
Refer to http://www.tldp.org/HOWTO/archived/SCSI-Programming-HOWTO if you need to know how to SCSI programming with Linux.
Ji-Hyeon Gim <potatogim@potatogim.net>
Copyright(c) 2015, by Ji-Hyeon Gim <potatogim@potatogim.net>
This is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself at:
http://www.perlfoundation.org/artistic_license_2_0
You may obtain a copy of the full license at:
http://www.perl.com/perl/misc/Artistic.html
Device::SCSI, Moose
To install Device::Moose::SCSI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Moose::SCSI
CPAN shell
perl -MCPAN -e shell install Device::Moose::SCSI
For more information on module installation, please visit the detailed CPAN module installation guide.