On Sun, 2008-10-05 at 15:11 -0700, Randal L. Schwartz wrote:
> my @result = map [split /-/], glob "{a}-{b,c}-{d,e,f}-{a}";
> 
> :-)
> 
> But seriously, why does this come up often?

Because your solution relies on knowledge of bash which many Windows
users do not have.

Also this ability of glob is not documented in perldoc.


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Linux is obsolete.
-- Andrew Tanenbaum


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to