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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [kiroz237] Need help with reading string from USB port: Edit Log



robertico
Novice

Mar 22, 2013, 12:54 AM


Views: 293
Re: [kiroz237] Need help with reading string from USB port

I'm also a beginner but maybe i can help you with this;


Code
open (OUTFILE, '>>D:\data.txt');  

$userinput = <STDIN>;
#chomp ($userinput); #optional
print OUTFILE "Code: $userinput\n";

close (OUTFILE);


Let me know if I'm completely wrong


(This post was edited by robertico on Mar 22, 2013, 5:40 AM)


Edit Log:
Post edited by robertico (Novice) on Mar 22, 2013, 5:40 AM


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

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