Changeset 6658 for lib/pugs/hack.pod

Show
Ignore:
Timestamp:
09/02/05 16:11:15 (3 years ago)
Author:
iblech
Message:

* pugs::hack: Extremely minor cosmetic fixes.
* t/statements/for_with_only_one_item.t: Expanded tests based on p6l feedback,

Juerd++, see http://www.nntp.perl.org/group/perl.perl6.language/22971.

* Removed t/operators/binding.t and added t/operators/binding/scalars.t (former

binding.t), t/operators/binding/arrays.t (39 tests), and
t/operators/binding/hashes.t (30 tests).

* PIL2JS: Prelude::JS::Array, Prelude::JS::Hash: Binding of not yet existing

array/hash elements should autovivify (i.e., @array[$out_of_bounds_index] :=
..., %hash<not_existing_key> := ... should work). With these fixes, PIL2JS
passes binding/scalars.t 28/28, arrays.t 36/39, and hashes.t 30/30. :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lib/pugs/hack.pod

    r6655 r6658  
    266266 
    267267Where applicable, conventions documented in Damian Conway's "Perl Best 
    268 Practices" book (Oreilly, 2005) should be followed by default.  At the very 
     268Practices" book (O'Reilly, 2005) should be followed by default.  At the very 
    269269least, all indenting should be done with spaces (4 per indent level) rather than 
    270270tabs, so the code and documentation looks the same to everyone. 
     
    279279    $ export PERL6LIB=blib6/lib 
    280280 
    281 You can also just say F<./pugs -Iblib6/lib t/.../mumble.t>. 
     281You can also just say C<./pugs -Iblib6/lib t/.../mumble.t>. 
    282282 
    283283=head3 Regex testing