Just a quick question. I know this can be done with more lines, but I'm wondering if it's possible to make the following work in one line.
(values(%my_hash)) = split(/\|/,$line);
I was hoping this would work since you can do the same thing with a regular array, but it's not working as is. Any ideas on an elegant solution? Thanks!
Doug
(values(%my_hash)) = split(/\|/,$line);
I was hoping this would work since you can do the same thing with a regular array, but it's not working as is. Any ideas on an elegant solution? Thanks!
Doug