Help for this page

Select Code to Download


  1. or download this
    {
       name          => 'Bob Kowalski',
    ...
       home_state    => 'Florida',
       hobbies       => [ 'ham radio', 'Perl programming', 'running' ],
    }
    
  2. or download this
    {
       name          => 'Kranessa Evans',
    ...
       home_state    => 'Texas',
       hobbies       => [ 'Perl programming', 'writing', 'polo' ],
    }
    
  3. or download this
    #!/opt/perl
    
    ...
    
    store_to_file( '/data/students.db', \@students );  # This make-believe
    + easy-peasy function 
                                                       # would be built in
    +to Perl.
    
  4. or download this
    use Storable qw( nstore_fd retrieve_fd );
    
    ...
        close(DF);
        return $data_ref;
    }