Re: Naming the @{[]} operator

2006-07-13 Thread Smylers
Michael W Thelen writes: Smylers wrote: I hadn't heard of [babycart] before this thread, and I'm a native English speaker. I haven't heard baby cart much either... I would probably say baby carriage (I'm from the USA). 4 syllables. With half the number of syllabes, babycart is

RE: Naming the @{[]} operator

2006-07-13 Thread Allen, Greg
Better example: bash-2.05$ perl -le 'print localtime'; perl -le 'print @{[localtime]}' 9151013610641931 9 15 10 13 6 106 4 193 1 Greg -Original Message- From: Chasecreek Systemhouse [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 9:30 AM To: fwp@perl.org Subject: Re: Naming

Re: Naming the @{[]} operator

2006-07-13 Thread Bart Lateur
On Thu, 13 Jul 2006 04:29:38 -0400, Chasecreek Systemhouse wrote: On 7/7/06, Jerrad Pierce [EMAIL PROTECTED] wrote: perl -le 'print @{[time]}' What the advantage the above over this: perl -le 'print time' Oh come on, you asked how to use @{[]}. Well, its main purpose is a way to embed

Re: Naming the @{[]} operator

2006-07-13 Thread A. Pagaltzis
* Bart Lateur [EMAIL PROTECTED] [2006-07-13 11:30]: On Thu, 13 Jul 2006 04:29:38 -0400, Chasecreek Systemhouse wrote: What the advantage the above over this: perl -le 'print time' Oh come on, you asked how to use @{[]}. It’s a legitimate question. Another use case: for( qw( 1 2 3 )

Re: Naming the @{[]} operator

2006-07-13 Thread Chasecreek Systemhouse
On 7/13/06, A. Pagaltzis [EMAIL PROTECTED] wrote: Modification of a read-only value attempted at foo line 2. Yeah, I get that a lot and I have to burn another variable to get around it; for( @{[ qw( 1 2 3 ) ]} ) { $_ = $_ * $_; # contrived Now this is good, less vars and

Re: Naming the @{[]} operator

2006-07-12 Thread Jose Castro
On Jul 12, 2006, at 2:28 AM, Yanick Champoux wrote: On Tuesday 11 July 2006 19:22, Philippe BooK Bruhat wrote: Le mardi 11 juillet 2006 à 21:59, Smylers écrivait: but babycart transmits the idea that what you put inside is fragile and simple... It's also a series of japanese saber films

Re: Naming the @{[]} operator

2006-07-11 Thread Smylers
Philippe BooK Bruhat writes: Le lundi 10 juillet 2006 à 12:09, Jose Castro écrivait: Indeed... it *is* a container! You put things inside it! I still prefer Supermarket Trolley, Ditto. There's more variety as to what you might put inside it. but babycart transmits the idea that

Re: Naming the @{[]} operator

2006-07-11 Thread Michael W Thelen
Smylers wrote: It only does that if you've heard the term before. I hadn't heard of it before this thread, and I'm a native English speaker. My initial guess was that it's some kind of small cart, but I now gather it's an alternative term for a pushchair, or perhaps for a pram. Either way

Re: Naming the @{[]} operator

2006-07-11 Thread A. Pagaltzis
* Smylers [EMAIL PROTECTED] [2006-07-11 23:05]: babycart is 3 syllables; shopping trolley Plus I could see myself adopting the latter (reluctantly) if it became part of the vernacular, but I’d feel too silly using the former to pick it up. I still like “fat brackets” better though, in vague

Re: Naming the @{[]} operator

2006-07-11 Thread Josh Goldberg
Let's just call it a rubber baby buggy bumper, then at least noone can say it three times fast regardless of what goes inside. It could be abbreviated to R3B, as in The best way to deref that structure is to use an arr three bee. Taking that another step, it could be an R2D2 as well. At least

Re: Naming the @{[]} operator

2006-07-11 Thread Philippe BooK Bruhat
Le mardi 11 juillet 2006 à 21:59, Smylers écrivait: but babycart transmits the idea that what you put inside is fragile and simple... It only does that if you've heard the term before. I hadn't heard of it before this thread, and I'm a native English speaker. My initial guess was

Re: Naming the @{[]} operator

2006-07-11 Thread Jerrad Pierce
Why Perl5's dereferencing is better than Perl6's: #34370 +(6)- [X] tye and deref'ing is easy to remember because robots, -[ , use simple integer indices while samuri, -{ , have names for everything, and aliens, -( , use functional programming --http://perlmonks.org/?node=tye -- Free map of

RE: Naming the @{[]} operator

2006-07-10 Thread McGlinchy, Alistair
I recently thought about the @{[]} operator again (one of the semi-famous Perl secret operators), and called it the babycart operator. I think I got the name from the series of films Baby Cart (after the japanese manga Lone Wolf and Cub). Opinions? Well, you once introduced

Re: Naming the @{[]} operator

2006-07-10 Thread Jose Castro
On Jul 10, 2006, at 11:59 AM, McGlinchy, Alistair wrote: I recently thought about the @{[]} operator again (one of the semi-famous Perl secret operators), and called it the babycart operator. I think I got the name from the series of films Baby Cart (after the japanese manga Lone Wolf and

Re: Naming the @{[]} operator

2006-07-10 Thread Philippe BooK Bruhat
Le lundi 10 juillet 2006 à 12:09, Jose Castro écrivait: In my brain it's always been Geiger's Alien with the double jaws, but I can see the babycart with each use containing a different hack/baby. Indeed... it *is* a container! You put things inside it! I still prefer Supermarket

Re: Naming the @{[]} operator

2006-07-09 Thread Jose Castro
On Jul 7, 2006, at 11:02 PM, Andrew Savige wrote: --- Alan Young wrote: I missed any discussion on this, and searching for this series of characters is fruitless. Here's an attempt at a definitive reference list for Perl's secret operators. I blame cog and BooK. Original fwp thread on

RE: Naming the @{[]} operator

2006-07-08 Thread Michael R. Wolf
Pierce [mailto:[EMAIL PROTECTED] Sent: Friday, July 07, 2006 11:54 AM To: Philippe BooK Bruhat Cc: Jose Castro; fwp@perl.org Subject: Re: Naming the @{[]} operator Babe cart? Supermarket trolley? Bah! Speak *English* :-P I still like Intervalpation, but I guess you want something along

RE: Naming the @{[]} operator

2006-07-08 Thread Michael R. Wolf
What's the difference between @{[]} and () ? Other than obfuscatory purposes? The former interpolates the list into qq{} (i.e. double quotes), the later doesn't. -- Michael R. Wolf [EMAIL PROTECTED] **NOTE** new, shorter spelling of obsolescent MichaelRunningWolf-at-att.net

Re: Naming the @{[]} operator

2006-07-08 Thread Georg Moritz
From the keyboard of Stefan `Sec` Zehl [08.07.06,12:29]: On Sat, Jul 08, 2006 at 08:02 +1000, Andrew Savige wrote: Here's an attempt at a definitive reference list for Perl's secret operators. I blame cog and BooK. [...] Wow, thanks for that list. -- On a related note: I distinctly

RE: Naming the @{[]} operator

2006-07-08 Thread Michael R. Wolf
[EMAIL PROTECTED] is really a form of parenthesis. So call it the fat brackets. Or, to add a bit of consonance: at-fat-brack or, even [EMAIL PROTECTED]@ckets or, shortened to @-brackets But that could get confused with the more common (and more useful) @{...} -- Michael R.

Re: Naming the @{[]} operator

2006-07-07 Thread Jerrad Pierce
I don't really think of it as *an* operator. It's a chain, or collection, of reference/dereferencing to nastiness (doesn't mean I don't use it). Intervalpation? -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Pungenday, the 42nd of Confusion, in the YOLD

Re: Naming the @{[]} operator

2006-07-07 Thread Jerrad Pierce
Think of it as a bird's eye view Paren's head- @{[]} - Rubber baby buggy bumper ^- Baby -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Pungenday, the 42nd of Confusion, in the YOLD 3172: Everybody repeat after me.We are all

RE: Naming the @{[]} operator

2006-07-07 Thread Michael R. Wolf
It also cradles something ugly/cute (err, I mean fragile). Think of it as a bird's eye view Paren's head- @{[]} - Rubber baby buggy bumper ^- Baby

Re: Naming the @{[]} operator

2006-07-07 Thread Alan Young
Philippe BooK Bruhat wrote: I recently thought about the @{[]} operator again (one of the semi-famous Perl secret operators), and called it the babycart operator. I can see where you got that ... kinda fits. I missed any discussion on this, and searching for this series of characters is

Re: Naming the @{[]} operator

2006-07-07 Thread Jerrad Pierce
What's the difference between @{[]} and () ? Other than obfuscatory purposes? perl -le 'print @{[time]}' -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Pungenday, the 42nd of Confusion, in the YOLD 3172: Everybody repeat after me.We are all

Re: Naming the @{[]} operator

2006-07-07 Thread Jose Castro
On Jul 7, 2006, at 4:36 PM, Philippe BooK Bruhat wrote: Hi, I recently thought about the @{[]} operator again (one of the semi-famous Perl secret operators), and called it the babycart operator. I think I got the name from the series of films Baby Cart (after the japanese manga Lone Wolf

Re: Naming the @{[]} operator

2006-07-07 Thread Philippe BooK Bruhat
Le vendredi 07 juillet 2006 à 18:54, Jose Castro écrivait: On Jul 7, 2006, at 4:36 PM, Philippe BooK Bruhat wrote: Hi, I recently thought about the @{[]} operator again (one of the semi-famous Perl secret operators), and called it the babycart operator. I think I got the name from

Re: Naming the @{[]} operator

2006-07-07 Thread Jerrad Pierce
Babe cart? Supermarket trolley? Bah! Speak *English* :-P I still like Intervalpation, but I guess you want something along the lines of spaceship operator. If that's the case call it a pram. -- Free map of local environmental resources: http://CambridgeMA.GreenMap.org -- MOTD on Pungenday, the