Re[2]: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-09 Thread Tim Musson
Not sure I would consider myself a beginner either, but I still have a long way to go . And yes I would very much like to see a tutorial like this. AC> I'm not a beginner, but that sounds like a great way to start up a AC> discussion about efficient program development. Go for it! AC> At 02:0

RE: Succinct Code, Use of my $var and global vs local

2001-06-08 Thread Alan F. Larimer, Jr.
> I'd love to view the sources, especially how you pull the data from the > form > and store it. Sorry for such a basic request but it is a beginner's list. Frank, It is and is not a basic request. "Basic" is such a loose term. It doesn't really "store" the info, although a few variations on

Re: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-08 Thread fliptop
Mark Rowlands wrote: > > Yes, everything is of use!..but here' a thought:- I have just finished > reading a paper by a well known perl guru. All fine and good and no doubt > technically spot on..but at no point does it ever suggest why you might > choose approach a over approach b. A pa

Re: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-08 Thread Mark Rowlands
On Thursday 07 June 2001 08:02, fliptop wrote: > Teresa Raymond wrote: > > This snippet of code works as it is but I was wondering if there was > > a way to rewrite it more succinctly. I am also not using my $var="" > > after a few days of reading the code samples being posted here, i have > been

Re: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-07 Thread mcrawley
Without question! -- Original Message -- From: "William McKee" <[EMAIL PROTECTED]> Date: Thu, 7 Jun 2001 09:48:54 -0400 >On 7 Jun 2001, at 2:02, fliptop wrote: >> does anyone feel this would be helpful? i'd put in the time only if >> other beginners though

Re: Succinct Code

2001-06-07 Thread Curtis Poe
gt;Southeast > PrintTag > } > else > {print <<"PrintTag"; >value="Southeast ">Southeast > PrintTag > } > if ($location=~/Southwest/ig) > {print <<"PrintTag"; >value="Southwest " checked>Southwest > Prin

Re: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-07 Thread William McKee
On 7 Jun 2001, at 2:02, fliptop wrote: > does anyone feel this would be helpful? i'd put in the time only if > other beginners thought it would be of use. Absolutely! William

Re: tutorial proposition (was: Re: Succinct Code, Use of my $varand global vs local)

2001-06-07 Thread fliptop
Josh wrote: > > ditto > On Thu, 7 Jun 2001, Frank J. Schmuck wrote: > > > That would help a great deal. As a lurker (mostly to view code and to see > > how folks think through problems) and definitely a true "beginner," one > > thing that is very obvious is that there is a significant variance

RE: Succinct Code, Use of my $var and global vs local

2001-06-07 Thread Frank J. Schmuck
1:10 AM To: Teresa Raymond; beginnerperllist Subject: Re: Succinct Code, Use of my $var and global vs local > This snippet of code works as it is but I was wondering if there was > a way to rewrite it more succinctly. I am also not using my $var="" > because my cgi class did n

RE: tutorial proposition (was: Re: Succinct Code, Use of my $varand global vs local)

2001-06-07 Thread Josh
t; Frank > > -Original Message- > From: fliptop [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 2:03 AM > To: Teresa Raymond > Cc: beginnerperllist > Subject: tutorial proposition (was: Re: Succinct Code, Use of my $var and > global vs local) > > Te

RE: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-07 Thread Frank J. Schmuck
ot; to use the list to teach. But in a beginner's list I just thought some of the more basic things would be talked about. I'd love to see you do this. Thanks Frank -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 2:03 AM To: Teresa Ra

Re: tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-07 Thread Aaron Craig
I'm not a beginner, but that sounds like a great way to start up a discussion about efficient program development. Go for it! At 02:02 07.06.2001 -0400, you wrote: >Teresa Raymond wrote: > > > > This snippet of code works as it is but I was wondering if there was > > a way to rewrite it more su

Re: Succinct Code, Use of my $var and global vs local

2001-06-07 Thread Aaron Craig
At 22:19 06.06.2001 -0700, you wrote: > > I am also not using my $var="" > > because my cgi class did not teach me how and I haven't found the > > time to incorporate my knowledge from my recently-taken Intro to Perl > > class. Some pontification on the usage my $var="" would be great. > > As wel

Succinct Code

2001-06-07 Thread Teresa Raymond
Any thoughts on how to make this code more succinct? #PRINT OUT HTML FORM WITH VALUES FROM DATABASE foreach $i (@indata) {chop($i); ($aptname,$address,$city,$zip,$phone,$location,$bedrooms,$rentmin,$ren tmax,$pets,$laundry,$garage,$comment,$aptweb,$aptemail,$graphic)=split (/\|/,$i); if (($addr

tutorial proposition (was: Re: Succinct Code, Use of my $var and global vs local)

2001-06-06 Thread fliptop
Teresa Raymond wrote: > > This snippet of code works as it is but I was wondering if there was > a way to rewrite it more succinctly. I am also not using my $var="" after a few days of reading the code samples being posted here, i have been wondering how i can help perl beginners with advice on

Re: Succinct Code, Use of my $var and global vs local

2001-06-06 Thread Alan F. Larimer, Jr.
> I am also not using my $var="" > because my cgi class did not teach me how and I haven't found the > time to incorporate my knowledge from my recently-taken Intro to Perl > class. Some pontification on the usage my $var="" would be great. > As well as the appropriate usage of "&&" and "and"

Re: Succinct Code, Use of my $var and global vs local

2001-06-06 Thread Alan F. Larimer, Jr.
> This snippet of code works as it is but I was wondering if there was > a way to rewrite it more succinctly. I am also not using my $var="" > because my cgi class did not teach me how and I haven't found the > time to incorporate my knowledge from my recently-taken Intro to Perl > class. Som

Succinct Code, Use of my $var and global vs local

2001-06-06 Thread Teresa Raymond
To: beginnerperl.org From: Teresa Raymond <[EMAIL PROTECTED]> Subject: Succinct Code, Use of my $var and global vs local Cc: Bcc: X-Attachments: This snippet of code works as it is but I was wondering if there was a way to rewrite it more succinctly. I am also not using my $var="&q