Any interest in tips/tricks?

Dan.Sherer at wellpoint.com Dan.Sherer at wellpoint.com
Wed Feb 23 15:04:00 CST 2000


Yes, I currently use Perl5 on an iMac, Windoze-95 & NT, and HP-UX.  I also use
it for CGI on several Linux web-servers and have used it on Sun/Solaris.

As for the activity level on this group, I'll take some of the blame for that.
 Even though I've been busy, I still should have attempted to motivate
discussion prior to this.  For the future, I'll try to post (what I hope will
be) useful information and respond to queries by other members.


Let me start with this:


To set a variable with a default value, ONLY if it hasn't already been
defined, you can do this...


$variable ||= "default value";

# instead of:

if ( ! $variable ) {
	$variable = "default value";
}

# or even this:

$variable = "default value"   unless ($variable);

(Personally, one of the things I like most about Perl is the fact that there
is more than one way to do something.  But some short-cuts are more unique to
Perl than others.)


Daniel

------------------( Forwarded letter 1 follows )---------------------
Date: Wed, 23 Feb 2000 12:01:21 -0800 (PST)
To: Dan.Sherer
Cc: thousand-oaks-pm-list at pm.org
From: davidmcb at excite.com
Subject: Re: Any interest in tips/tricks?

Hi,

I just joined the mailing list a couple of weeks ago and I've been surprised
that I haven't seen any activity.  I'm definitely in the learning process
and I'm very interested in anything you have to pass on.  I also think that
we should all try to contribute some info (including myself) if we're going
to make the mailing list useful.  We could discuss interesting Perl related
aspects of projects we're currently working on, job openings, tips, tricks,
good reference books, etc.

I'm using Perl on a Unix box, but I've also messed around with it on a Mac
(i.e. MacPerl).  Is anyone else out there doing anything with MacPerl?

- David


On Wed, 23 Feb 2000 09:13:00 -0800, Dan.Sherer at wellpoint.com wrote:

>  I'm not sure if we want to do this in our general newsgroup, but would
any of
>  you be interested in Perl tips and tricks?  Or all you all wizards
already?
>
>  I teach a weekly internal Perl class for my present employer and have
some
>  tips that I could pass along.
>
>  Since our newsgroup has been (deathly) quiet up until this point, I
thought
>  I'd ask if anyone was interested?
>
>
>  Daniel





_______________________________________________________
Get 100% FREE Internet Access powered by Excite
Visit http://freeworld.excite.com




More information about the Thousand-oaks-pm mailing list