RE: pronunciation guide

2003-08-26 Thread McMahon, Christopher x66156
On a Tandem, all processes begin with "$". As in: "$WRITER is writing to the file; $BILL is the process that monitors the bank balance". You'll definitely confuse Tandem people if you call the dollar sign "string". -Chris -Original Message- From: George

RE: New to list, question.

2003-08-18 Thread McMahon, Christopher x66156
I'll take this a step further. Search Google for "de icaza .net". Miguel de Icaza produced the GNOME desktop and founded Ximian/Mono. He's quoted all over the place discussing what .NET has to offer beyond the MS arena, for Open Source and wide interoperability. I think that de Icaza e

anyone ever use Test::FIT?

2003-07-10 Thread McMahon, Christopher x66156
I'm on a fishing expedition. I've discovered that a FIT framework exists for Perl at http://search.cpan.org/author/INGY/Test-FIT-0.11/lib/Test/FIT.pm , which is an implementation of Ward Cunningham's user-test FIT framework de

Thanks!! RE: TCP/IP question

2003-07-02 Thread McMahon, Christopher x66156
f the process. The difference is clear to me now, this makes all kinds of sense. -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 11:39 AM To: McMahon, Christopher x66156 Cc: [EMAIL PROTECTED] Subject: Re: T

TCP/IP question

2003-07-02 Thread McMahon, Christopher x66156
I think I'm missing a concept here... I built a very simple TCP/IP server like the one on p. 441 of the Camel book. But my server only ever sees the first message from any given client. Subsequent messages to my server are ignored. Does anyone know what I have to do to get my serve

RE: Linux, Perl, [open,star]office

2003-06-30 Thread McMahon, Christopher x66156
A few days ago I wrote a little Perl script that sticks commas into text files such that Excel can read them as CSV files. It's a really simple-minded use of the "substr" function, but it gets the job done. Particularly useful if the text data in question is always in the same format byte

RE: linefeed

2003-06-26 Thread McMahon, Christopher x66156
I just did this myself (see the item from this list from the 24th with title "duh...") I had to mess with chomp and chop both (you might have to play with them to get your format exactly right), there might be a more efficient way to do this, but this works:

RE: Mastering "Learning Perl on Win 32 Systems"

2003-06-25 Thread McMahon, Christopher x66156
I always find that I learn best by attempting to solve a practical problem, then using the parts of the manual(s) that apply to the problem. My first Perl program was for my own amusement. It throws the I Ching for you and prints the hexagrams to STDOUT. That was cool, it had ma

RE: Use of Perl for global changes

2003-06-25 Thread McMahon, Christopher x66156
Cool. That's way better than using sed. I wish I'd known this at my last job. -Chris -Original Message- From: Peter Goggin [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 1:08 AM To: Bakken, Luke; [EMAIL PROTECTED] Subject: Re: Use of Perl for global changes Tha

RE: Binary file conversion

2003-06-25 Thread McMahon, Christopher x66156
Good thinking! Might be any ISAM file, for that matter. -Chris -Original Message- From: Josimar Nunes de Oliveira [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:11 PM To: Ned Cunningham; [EMAIL PROTECTED] Subject: Re: Binary file conversion Hi all, May be Cobol f

RE: basic question: handling input to TCP/IP server

2003-06-25 Thread McMahon, Christopher x66156
ile ($client = $server->accept()) { my $n = sysread($client,$input,1000); print "$input\n" ; } -Original Message- From: Gupta, Sharad [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 7:11 PM To: Gupta, Sharad; McMahon, Christopher x66156; [EMAIL P

duh RE: help sending hex EOL chars

2003-06-24 Thread McMahon, Christopher x66156
Answering my own question: my $eol = "\r\n"; \r\n becomes 0D0A. -C -Original Message----- From: McMahon, Christopher x66156 Sent: Tuesday, June 24, 2003 10:35 AM To: '[EMAIL PROTECTED]' Subject: help sending hex EOL chars Hi... My TCP/IP server is prin

help sending hex EOL chars

2003-06-24 Thread McMahon, Christopher x66156
Hi... My TCP/IP server is printing input fine, now I'm trying to send the right output. The client for my server expects an EndOfLine character that is a hex 0D0A. (zero-dee-zero-ay) My code is doing this: my $eol = "\x{0D0A}"; but the client is seeing this: E0B4 8A An

RE: basic question: handling input to TCP/IP server

2003-06-24 Thread McMahon, Christopher x66156
more lines of code and I'll be impersonating the New York Stock Exchange! -Chris -Original Message- From: Gupta, Sharad [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 4:41 PM To: McMahon, Christopher x66156; [EMAIL PROTECTED] Subject: RE: basic question: handling in

basic question: handling input to TCP/IP server

2003-06-23 Thread McMahon, Christopher x66156
Hello all... I've implemented the TCP/IP server at the top of p.441 of The Camel (3rd edition) Chapter 16, and it's working fine. That is, it opens the port I tell it to, and other processes connect to it and happily send it stuff. (This is using IO::Socket::INET). But now I'm a little c