Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: nested foreach loop not working

by BillKSmith (Monsignor)
on Dec 27, 2021 at 18:48 UTC ( [id://11139949]=note: print w/replies, xml ) Need Help??


in reply to Re^3: nested foreach loop not working
in thread nested foreach loop not working

Do you understand the change you have made to $VAR1? You have replaced the string 'user.firstName' with a reference to an array containing only one element (the original string). The error message you reported in your chatterbox message is exactlly what you should expect if you made only this change to my script. Note that my for $var loop no longer makes much sense because all the values no longer have the same structure. Use hippo's method to dereference just the two required values.

Now show us your best effort to put these two values into your spread sheet.

Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139949]
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: (6)
As of 2024-04-24 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found