Re: Another simple program which doesnt work.

2002-01-13 Thread rabs
OK this listserve is great ;) thanks - Original Message - From: "Gary Hawkins" <[EMAIL PROTECTED]> To: "rabs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 13, 2002 2:43 AM Subject: RE: Another simple program which doesnt work

Re: Another simple program which doesnt work.

2002-01-12 Thread John W. Krahn
Jeff 'Japhy' Pinyan wrote: > > On Jan 12, Gary Hawkins said: > > >> This newsgroup is great. I am learning alot from just reading the post > >> here. I hope someone will be able to help with this query. > > > >Me too. But I learned a new word yesterday, pedantic. Just wanted to try it > >out,

Re: Another simple program which doesnt work.

2002-01-12 Thread Jason Leonard
Gary wrote: > Listserves: Email lists are read in an email program or on the web and are > handled by SMTP. > Newsgroups: Hosted on news servers, they are read by newsgroup software or on > the web, and are handled by NNTP. > > So this is a listserve. Forgive me, I'm a Virgo. > > Listserve, we

RE: Another simple program which doesnt work.

2002-01-12 Thread Jeff 'japhy' Pinyan
On Jan 12, Gary Hawkins said: >> This newsgroup is great. I am learning alot from just reading the post >> here. I hope someone will be able to help with this query. > >Me too. But I learned a new word yesterday, pedantic. Just wanted to try it >out, here goes. :< There is a newsgroup interf

RE: Another simple program which doesnt work.

2002-01-12 Thread Wagner-David
It should be $i<$L and just 0 and not $0 ( $0 is the script name ); Wags ;) ps You should realize that the c/r remains with each line. -Original Message- From: rabs [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 12, 2002 17:52 To: [EMAIL PROTECTED] Subject: Another simple pro

RE: Another simple program which doesnt work.

2002-01-12 Thread Gary Hawkins
> This newsgroup is great. I am learning alot from just reading the post > here. I hope someone will be able to help with this query. Me too. But I learned a new word yesterday, pedantic. Just wanted to try it out, here goes. :< Listserves: Email lists are read in an email program or on the

Re: Another simple program which doesnt work.

2002-01-12 Thread Jeff 'japhy' Pinyan
On Jan 13, rabs said: >#!/usr/bin/perl-w >print "please enter a word then press enter\n"; >@a= ; >$L =@a; >for ($i=0; $i<=$L; $i++){ >print $a[$i]; >} Your loop should be for ($i = 0; $i < $L; $i++) { ... } Notice <= should be <. It should also be noted that the idiomatic way of looping ove