>>>>> "AS" == Alexey Salmin <[email protected]> writes:

  AS> my ($a, $b, $c, $d) = split /,/, "test," x 4;

ewww. do you know about the list form of x? no need to build the string
and then split which is a major waste of cpu.

my ($a, $b, $c, $d) = ("test") x 4;

uri

-- 
Uri Guttman  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

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


Reply via email to