Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    nstore_fd \$txt, $SF;
    nstore_fd \@ary, $SF;
    close $SF;
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    print "Text: '$txt'\n";
    print "Array: (", join(', ', @ary), ")\n";
    print "Hash:  (", join(', ', map { "$_=>$hsh{$_}" } keys %hsh), ")\n";
    
  3. or download this
    roboticus@Boink:~
    $ perl tst_Storable_2.pl
    Text: 'The quick red fox jumped over the lazy brown dog'
    Array: (17, Flugelhorn, 13.333)
    Hash:  (Cherry=>42, Banana=>7, Apple=>1)