Help for this page

Select Code to Download


  1. or download this
    my %file_attachments = (
                 '103496-1'  => { 'CLVD' => '5678', 'COMP' => '1234', 'FD'
    + => '0010', 'File' => 'text.txt'},
    ...
    print Dumper(%newfile_attachments);
    print "\n";
    
  2. or download this
    > perl hashofhash.pl
    "my" variable %newfile_attachments masks earlier declaration in same s
    +cope at hashofhash.pl line 17.
    ...
    
    Can't use string ("103496-1") as a HASH ref while "strict refs" in use
    + at hashofhash.pl line 19.