Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Looking for Suggestions on School Project

by diskcrash (Hermit)
on Sep 20, 2002 at 04:09 UTC ( #199373=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Looking for Suggestions on School Project
in thread Looking for Suggestions on School Project

Dear Flame,

USB -support - there are a few USB test kit vendors out there who provide drivers and small USB test boards. They usally read switches and light LEDs. There are USB ref docs on the web. I'd contact a vendor and see if they would help you out.

Client-server apps are documented with code in several Perl books. They usually let you send and receive a buffer full of bytes between two ports on two machines. You would add some structure to the buffer content and possibly use simple TK to display the results. You might make a master/follower mouse display or perhaps a "public scratchpad" app. Check out "Perl in a Nutshell" - Chapter 13.

The file server converter is interesting. Use hex mode in vi (or similar editor) to look at the byte by byte content of a file. Start with a simple text file. You'll see the text and the "whitespace" characters, like line feeds, spaces etc. You can use Perl to read and parse this file and then spit out a different format. Consider a simple Unix /PC converter. You might also try a simple encryption technique.

In the broader sense think about any app that needs to move info of one type to another in a consistent way. The term often used is "Data Munging" and there is a good book by that title for Perl (by David Cross). This sounds pedestrian, but a whole lot of people get paid a whole lot of money to come up with fast and accurate format conversions.

Good luck and use strict

Diskcrash


Comment on Re: Re: Re: Looking for Suggestions on School Project
Re^4: Looking for Suggestions on School Project
by Flame (Deacon) on Sep 23, 2002 at 03:29 UTC

    Thanks for the explanation, a lot of this looks like it'd be really fun to mess around with. I'll add most of these to my list of possibilities.

    /me runs off to grab a copy of "Perl in a Nutshell"; meanwhile becoming luckier and using strict





    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://199373]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-10-20 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (88 votes), past polls