>>>>> "AS" == Alexey Salmin <alexey.sal...@gmail.com> 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  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to