Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Add new data to array

by AnomalousMonk (Archbishop)
on Mar 14, 2020 at 05:50 UTC ( [id://11114245]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -MData::Dumper -le
    "my $data = [
    ...
                'new_name' => 'Mary'
              }
            ];
    
  2. or download this
    my $data = [
      { Ad1 => '20 SOUTH CENTRAL  #B3', status => 'Property', City => 'NY'
    +, zCode => '0002', name => 'John D' },
    ...
      { Ad1 => '100 main St.',          status => 'houses',   City => 'BO'
    +, zCode => '0007', name => 'Mary'   },
      { Ad1 => '13 Terminal St.',       status => 'houses',   City => 'LA'
    +, zCode => '6664', name => 'Larry'  },
      ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114245]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-26 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found