Re: Array of Array refs



On May 28, 3:22 pm, googleA...@xxxxxxxxxxxxxxx (Brian) wrote:
my variable names end with A for array and H for hash,

Pointless. Variable names in Perl identify what kind of variable they
are. @ for arrays, % for hashes. [ ] for accessing an element of a
hash, { } for accessing element of a hash.

yes, I have read all of those perl doc pages. You perl folks like to
refer to whose pages a lot Paul, but in many cases they are not very
well written as manuals [this is provably true]

I heartily disagree, but if you think there's something that's not
clear, either use the built-in `perlbug` utility, mention it to the
perl5-porters list, or start a discussion about it on
comp.lang.perl.misc. That's the point of the language being open-
source, after all. Far more people are going to see those documents
than will ever see your post to beginners@xxxxxxxx, so if you're aim
is really to help out new Perl programmers, improving the
documentation is the best approach.

Paul Lalli

.



Relevant Pages

  • Re: $ or % For Associative Arrays?
    ... You refer to any member of it with $. ... The hash is a container; ... Scalars begin with $ in Perl. ...
    (perl.beginners)
  • Re: Noob! Help required and would be really appreciated!
    ... You've read 60% of "Learning Perl"? ... On finding the keyword "New Order", it has to start building a hash. ... want to build a loop around this hash creation. ... transferred to %allOrders. ...
    (comp.lang.perl.misc)
  • Re: Passing an array to a sub routine
    ... but later you're using a hash. ... In Perl, these are very ... The LoadDataFile routine works correctly, ...
    (comp.lang.perl.misc)
  • Making Datatypes Constant and Emulating Const Correctness
    ... Being relatively new to Perl with Java and bits of C under my belt, ... I'm new to C+++, too, but remember a number of uses for the const keyword ... an array to some analizer function as a constant strongly signals that no ... some reference (e,g. a blessed hash reference) ...
    (comp.lang.perl.misc)
  • Re: taking references to functions
    ... > I'm building a diagnostic medical questionnaire using Perl Tk. ... > to create a reference to a named function but not for unnamed ones. ... Notice that %dispatch here is an actual hash variable. ...
    (perl.beginners)