Help for this page

Select Code to Download


  1. or download this
    my %data;
    while (<>) {
    ...
        @rec{ qw/type url name description/ } = split /,/;
        push @{$data{$rec{'type'}}}, \%rec;
    }
    
  2. or download this
    use Data::Dumper;
    print Dumper \%data;