>>>>> "a" == autrijus <[EMAIL PROTECTED]> writes:
a> +You may cast C<Arguments> to other types with a prefix sigil operator: a> + a> + $args = \3; # same as "$args = \(3)" a> + $$args; # same as "$args as Scalar" or "Scalar($args)" a> + @$args; # same as '$args as Array" or "Array($args)" a> + %$args; # same as '$args as Hash" or "Hash($args)" a> + &$args; # same as '$args as Code" or "Hash($args)" a> + a> +Casted as an array, you can access to all positionals. Casted as a> +a hash, all nameds. As a scalar, the invocant. As a code, the a> +slurpy nameless block. s/casted/cast/g and i would word those as 'cast into an array'. here is my rewrite: When cast into an array, you can access all the positional arguments; Into a hash, all named arguments; Into a scalar, the invocant; Into code, into slurpy nameless block. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org