Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Defereferncing an array gathered from an object

by KurtZ (Friar)
on May 19, 2017 at 23:53 UTC ( [id://1190687]=note: print w/replies, xml ) Need Help??


in reply to Defereferncing an array gathered from an object

Please try
if(defined $data){ $exportLibs{$scopeName} = $data; }
Hope this is what you really want.
Update: If your intention is to join more than one $data array for the same $scopeName, you'd need:
if(defined $data){ push @{ $exportLibs{$scopeName} } = @$data; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found