Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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


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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://199373]
[choroba]: ♪ ♫ ♬ Moon on the water... the fire in the sky... ♪ ♫ ♬

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (18)
As of 2017-07-25 09:28 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (368 votes). Check out past polls.