By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,248 Members | 1,979 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,248 IT Pros & Developers. It's quick & easy.

how to pass lines values from a telnet to mysql

P: 2
Hello,

I am new in Perl programming and I have to do some application quick.
What I need is to do a telnet to a machine, this machine is sending continously values in columns with a format timestamp channel1 channel2 channel3 channel4
(e.g: 20060620 22:10:00 2.333 1.565 7.000 2.333)
20060620 22:10:01 2,444 1.222 2.22 3.000)
so I want to open the telnet session, and pass the values into a DB.
I know how to open the telnet session, but I don't know to pass the values (arrays..) to the DB.

Please help

cheers
Jun 20 '06 #1
Share this Question
Share on Google+
1 Reply


eWish
Expert 100+
P: 971
Have you resolved your issue? If so, then please post a solution to your problem.

I would just get the results from the telnet session into an array then do an insert into the DB as you would any other insert statement.

--Kevin
Nov 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.