Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    Dump $r;                    # ref target is now POK, PV is "Z"
    say ${ thaw freeze $r };    # "Z"
    
  2. or download this
    use strict;
    use warnings;
    ...
                                # full of magic, above.
    say ${ thaw freeze \foo };  # 42
    
  3. or download this
    @result = mce_map { ...work with $_ } substr(...)
    @result = mce_map { ...work with $$_ } \substr(...)
    @result = mce_map { ...work with $$_ } \( my $s = substr(...))