>>>>> "a" == autrijus  <[EMAIL PROTECTED]> writes:

  a>  Sigils are now invariant.  C<$> always means a scalar variable, C<@>
  a>  an array variable, and C<%> a hash variable, even when subscripting.
  a> -Array and hash variable names in scalar context automatically produce
  a> -references.
  a> +Variables such as C<@array> and C<%hash> in scalar context simply
  a> +returns themselves Array and Hash objects.
                        ^as
i think you wanted to say 'as' after themselves. and returns should be
return (yes, english is wacky with plural nouns and verbs).

        When in scalar context, aggregate variables such as C<@array>
        and C<%hash> simply return themselves as Array and Hash objects
        respectively.
 
  a>  =item *
 
  a> -Unlike in Perl 5, the notation C<&foo> merely creates a reference
  a> -to function "C<foo>" without calling it.  Any function reference may
  a> -be dereferenced and called using parens (which may, of course,
  a> -contain arguments).  Whitespace is not allowed before the parens,
  a> -but there is a corresponding C<.()> operator, which allows you to
  a> -insert optional whitespace before the dot.
  a> +Unlike in Perl 5, the notation C<&foo> merely returns the C<foo>
  a> +function as a Code object without calling it.  You may call any Code
  a> +object parens (which may, of course, contain arguments).  Whitespace
  a> +is not allowed before the parens, but there is a corresponding C<.()>
  a> +operator, which allows you to insert optional whitespace before the dot.

        Unlike in Perl 5, the notation C<&foo> merely returns the C<foo>
        function as a Code object without calling it.  You may call any
        Code object with parentheses (which may, of course, contain
        arguments).  Whitespace is not allowed before the open
        parenthesis, but there is a corresponding C<.()> operator, which
        allows you to insert optional whitespace before the dot.

  a> -A hash reference in numeric context returns the number of pairs
  a> -contained in the hash.  A hash reference in a boolean context returns
  a> -true if there are any pairs in the hash.  In either case, any intrinsic
  a> -iterator would be reset.  (If hashes do carry an intrinsic iterator
  a> -(as they do in Perl 5), there will be a C<.reset> method on the hash
  a> -object to reset the iterator explicitly.)
  a> +In numeric context, a Hash object returns the number of pairs contained
  a> +in the hash.  Hash in a boolean context returns true if there are any 
pairs
  a> +in the hash.  In either case, any intrinsic iterator would be reset.  (If
  a> +hashes do carry an intrinsic iterator (as they do in Perl 5), there will
  a> +be a C<.reset> method on the hash object to reset the iterator 
explicitly.)
        In numeric context, a Hash object returns the number of pairs
        contained in the hash.  A Hash in a boolean context returns true
        if there are any pairs in the hash.  In either case, any
        intrinsic iterator would be reset.  (If hashes do carry an
        intrinsic iterator (as they do in Perl 5), there will be a
        C<.reset> method on the hash object to reset the iterator
        explicitly.)

is Hash the same as Hash object? i know %hash is both but is it ok to
change the name in mid paragraph like that??

just the usual minor cleanup of audrey's english. hell, she has to have
SOME flaws! :)

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

Reply via email to