Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Remove one level from array

by hdb (Monsignor)
on Oct 28, 2015 at 15:54 UTC ( [id://1146292]=note: print w/replies, xml ) Need Help??


in reply to Remove one level from array

How about

$VAR1 = [ map { 'ARRAY' eq ref( $_ ) ? @$_ : $_ } @$VAR1 ];

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2024-04-25 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found