in reply to Why is my array empty?
Also, if you are splitting on commas, then you need to do that:
@lines = <INPUT>; for ( 0 .. $#lines ) { $url_info[$_] = [ split /,/ , $lines[$_] ]; }
But maybe I am being incredibly dumb and you know clever perl tricks that I wot not of.
dave hj~
|
|---|