in reply to using split

I've seen you write
my( $foo, $bar ) = @_;
This is no different
( $a, $b ) = split(';',$abc, 2);

Replies are listed 'Best First'.
Re^2: using split
by ig (Vicar) on Jul 23, 2009 at 03:50 UTC
    This is no different

    There are many differences between your two examples, but they do both have a list of variables on the left of the assignment operator and they both assign values to each variables.

    See List value constructors for more information.

    A reply falls below the community's threshold of quality. You may see it by logging in.