I was using the '@{[...]}' idiom long before I knew it had a name or that perlsecret even existed
You're in good company! When merlyn invented this idiom back in 1994, he regretted not asking Larry's daughter Heidi to name it, after her previous spectacular success in coining the <=> spaceship operator name. Actually, I see just now there's a bug in perlsecret in that it attributes the naming of the spaceship operator to Randal Schwartz when the true credit belongs to Larry's daughter Heidi according to the man himself!
For the long and fascinating history behind the naming of the @{[...]} "baby cart" secret operator see: Re^3: Hidden features of Perl (Baby Cart Secret Operator)
In reply to Re^2: Splitting Hairs [tangent to: Splitting in while loop]
by eyepopslikeamosquito
in thread Splitting in while loop
by tel2
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |