Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Template, sorting an array with only one member

by FloydATC (Deacon)
on Oct 20, 2014 at 10:44 UTC ( [id://1104408]=note: print w/replies, xml ) Need Help??


in reply to Re: Template, sorting an array with only one member
in thread Template, sorting an array with only one member

More a TT question, but what happens if you always append an empty hash to the array?

This would solve the Template problem but it would also require that I check for empty hashes in every single place that array is used. I want to keep the workaround within the template if at all possible.

I'll see if I can find a way to do that.

-- FloydATC

Time flies when you don't know what you're doing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found