CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
WriteFile Equivalent in perl



Mar 15, 2009, 7:42 AM

Post #1 of 3 (511 views)
WriteFile Equivalent in perl Can't Post

HI all,
I want to write some data to a tape drive through perl.. one idea
is to use scsi commands to send data.But i want to write it through
filesystem with the usage of something like "WriteFile" in c++.Can
anyone help me ??..Is there something equivalent to "WriteFile"
in perl??...Any other idea to write data into Tape drive???


Veteran / Moderator

Mar 15, 2009, 8:15 AM

Post #2 of 3 (509 views)
Re: [rag84dec] WriteFile Equivalent in perl [In reply to] Can't Post

I don't know C++ which also means I don't know what WriteFile does in C++.

In Perl, if you want to send scsi commands to a device, I'd probably start with this module:


Here's another option:
NBU::Drive - Support for tape Drives
Unfortunately the author of that module hasn't completed the documentation showing how it's used, so you may need to send him an email.

Veteran / Moderator

Mar 15, 2009, 8:33 AM

Post #3 of 3 (507 views)
Re: [rag84dec] WriteFile Equivalent in perl [In reply to] Can't Post

Is your question more basic, like "how do I write to a file"?

perldoc -f open

porldoc -f print


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives