On Nov 28, 2007, at 4:16 PM, Philippe Bruhat (BooK) wrote:
Hi,
Just thought I should share this with the FWP crowd.
I had to do something special with the first line of a file, before
running the whole while() loop on it. I ended up with this:
@[EMAIL PROTECTED] ==~ $re;
Rafael helped
On Thu, Nov 29, 2007 at 09:54:25AM +0100, Philippe Bruhat (BooK) wrote:
# DATA is the pilot, for the sake of the example
@[EMAIL PROTECTED] =DATA=~ $re;
Did I just inadvertently make a Star Wars/Star Trek cross-over?
--
Philippe Bruhat (BooK)
He who revels in being
On Wed, Nov 28, 2007 at 05:09:57PM -0500, Mr. Shawn H. Corey wrote:
Philippe Bruhat (BooK) wrote:
Hi,
Just thought I should share this with the FWP crowd.
I had to do something special with the first line of a file, before
running the whole while() loop on it. I ended up with this:
Philippe @[EMAIL PROTECTED] ==~ $re;
That gives me a reason to pick symmetrical names for my filehandles in the
future:
=W=~
=O__O=~
=IX000H000XI=~
that'll be an X-wing squadron :)
--
Sincerely,
Dmitry Karasik
On Thu, Nov 29, 2007 at 01:09:20PM +0100, Dmitry Karasik wrote:
Philippe @[EMAIL PROTECTED] ==~ $re;
That gives me a reason to pick symmetrical names for my filehandles in the
future:
=W=~
=O__O=~
=IX000H000XI=~
that'll be an X-wing squadron :)
Or you could go down the
Philippe Bruhat (BooK) wrote:
Why would I need parentheses, when the hash slice gives me a list
context already?
The parentheses, like the whitespace, are for clarification; to make it easier
to understand what is happening. Also, it is not one operator, it is three.
Why do you use so much
On Thu, Nov 29, 2007 at 09:20:20AM -0500, Mr. Shawn H. Corey wrote:
Philippe Bruhat (BooK) wrote:
Why would I need parentheses, when the hash slice gives me a list
context already?
The parentheses, like the whitespace, are for clarification; to make
it easier to understand what is
On Thu, Nov 29, 2007 at 10:00:19AM +0100, Philippe Bruhat (BooK) wrote:
On Wed, Nov 28, 2007 at 07:22:54PM -0500, Yanick Champoux wrote:
Somehow, I think Philippe knew that. ;-)
Even better, I knew I didn't need them.
I knew you knew. :-) I was more saying Philippe knows that
From the keyboard of [EMAIL PROTECTED] [29.11.07,11:11]:
On Thu, Nov 29, 2007 at 10:00:19AM +0100, Philippe Bruhat (BooK) wrote:
On Wed, Nov 28, 2007 at 07:22:54PM -0500, Yanick Champoux wrote:
Somehow, I think Philippe knew that. ;-)
Even better, I knew I didn't need them.
From the keyboard of [EMAIL PROTECTED] [29.11.07,11:11]:
On Thu, Nov 29, 2007 at 10:00:19AM +0100, Philippe Bruhat (BooK) wrote:
On Wed, Nov 28, 2007 at 07:22:54PM -0500, Yanick Champoux wrote:
Somehow, I think Philippe knew that. ;-)
Even better, I knew I didn't need them.
Hi Uri: I enjoyed reading through your slides.
I think I caught a typo, though:
On the 'Is A' slide, the example is:
my @foos = qw( foo bar baz ) ;
my %is_a_foo = map { $_ = 1 } @foos ;
if( $is_a_foo( $key ) {
...
}
Shouldn't this be:
if( $is_a_foo{$key} ) {
...
}
Regards,
Doug
DH == Doug Hunt [EMAIL PROTECTED] writes:
DH Hi Uri: I enjoyed reading through your slides.
DH I think I caught a typo, though:
i said there will be errors!! :)
most of my lesson slides for this ongoing class have had typos.
DH if( $is_a_foo( $key ) {
DH if( $is_a_foo{$key} ) {
shmem wrote:
To brighten up your day - here's the winged moon, which isn't an
operator, but a constant:
[EMAIL PROTECTED]
Georg added:
Similar to the winged moon - an operator (token?) which scares
the hell out of the remainder of a list:
[EMAIL PROTECTED]
Me likes. Lots. I
From the keyboard of Yanick Champoux [29.11.07,20:01]:
shmem wrote:
To brighten up your day - here's the winged moon, which isn't an
operator, but a constant:
[EMAIL PROTECTED]
Georg added:
Similar to the winged moon - an operator (token?) which scares
the hell out of the
14 matches
Mail list logo