[boulder.pm] Unsubscribe
mstretchberry at mindspring.com
mstretchberry at mindspring.com
Fri Jan 21 11:05:27 CST 2000
Marcy Stretchberry
The Complete Programmer Network
3801 E. Florida #400 Denver 80209
mstretchberry at programmer.net
office: 303-758-7347 cell:303-882-6405
fax: 303-758-7605 res: 303-733-0070
www.completeprogrammer.net
----- Original Message -----
From: Walter Pienciak <walter at frii.com>
To: <boulder-pm-list at happyfunball.pm.org>
Sent: Friday, January 21, 2000 9:17 AM
Subject: RE: [boulder.pm] activity on this list
: This has been a lot of help to me personally so far, both
: Wayde's brief on typical activity on this kind of mailing list
: and everyone's comments on Perl and life and what they're
: hoping for. I hope everyone else continues to send in a note to
: this thread to help us figure things out.
:
: I'm fighting a cold right now, but next week I think I'll look
: at all the comments on time and day, and come up with a meeting
: date (and place).
:
:
: And now for something completely Perl:
:
: When Perl style comes up, it usually is quickly apparent how
: many ways Perl lets you hang yourself^W^Wdo things.
:
: Here's a simple program that waffles on output:
:
: #!/usr/bin/perl -w
:
: use strict;
:
: my @opinions = ( "yes", "no" );
: my $baz = $opinions[ rand @opinions ];
:
: if ( $baz eq "yes" ) {
: print "foo\n";
: } else {
: print "bar\n";
: }
:
: I'm wondering how many reasonably different ways the logic expressed in
: the if/else code could have been written.
:
: $baz eq "yes" ? print "foo\n" : print "bar\n";
:
: Any others?
:
:
: Walter
:
More information about the Boulder-pm
mailing list