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

Re: Read datastructure

by AnomalousMonk (Archbishop)
on Feb 05, 2021 at 23:52 UTC ( [id://11127959]=note: print w/replies, xml ) Need Help??


in reply to Read datastructure

Alternatively:

Win8 Strawberry 5.8.9.5 (32) Fri 02/05/2021 18:49:03 C:\@Work\Perl\monks >perl -Mstrict -Mwarnings -MData::Dumper my @data = ( { 'sourceL' => 'spacecraft', 'source' => 'MT', 'targetL' => 'vaisseau spatial' } ); print Dumper \@data; foreach (@data){ print my $target= ucfirst($_->{targetL}); } ^Z $VAR1 = [ { 'source' => 'MT', 'sourceL' => 'spacecraft', 'targetL' => 'vaisseau spatial' } ]; Vaisseau spatial
How and from what are you producing the Dumper output (which is what the output looks like)?


Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-03-28 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found