in reply to Re^3: Splitting array into two with a regex
in thread Splitting array into two with a regex
@{$rec->vals()} is an expression that returns a list.Well, technically, it's an lvalue array expression, which when used as an rvalue in a list context, returns a list. When its used in a scalar context, it returns the length of the list. When it's used as an lvalue, it's an array.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Splitting array into two with a regex
by ikegami (Patriarch) on Nov 08, 2005 at 19:17 UTC | |
by merlyn (Sage) on Nov 08, 2005 at 19:49 UTC | |
by ikegami (Patriarch) on Nov 08, 2005 at 19:52 UTC | |
by dragonchild (Archbishop) on Nov 08, 2005 at 20:00 UTC |