Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Many languages use some kind of mark (flexion?) on the word itself to denote the plural. Article like "les" in French are redundant as far as the plural or singular is concerned. It comes in definite form (les) and the indefinite one (des), but I don't think that distinction can translate usefully into Perl.

    I consider that the @ sigil is the equivalent in Perl of plural in natural languages, so I use the sigil in place of plural instead of with it.

    So I say @house and not @houses.

    I think that other programmers, like Damian Conway, would advocate to write @houses. I don't remember the rationale