in reply to Re^3: Print multiple hashes of arrays at same time
in thread Print multiple hashes of arrays at same time
Yes, declaring my %h2; fixed that problem. Now it seems that I can't run it because of perl v 5.8.8 XD
Search pattern not terminated at testcode/test.pl line 13 (#1)It appears BrowserUK is using it in the 'defined-or' context, and updating perl isn't something I can readily do (at work), so I'm gonna have to drop this til I get home. Thanks though.Note that since Perl 5.9.0 a // can also be the defined-or construct, not just the empty search pattern. Therefore code writ +ten in Perl 5.9.0 or later that uses the // as the defined-or can be misparsed by pre-5.9.0 Perls as a non-terminated search pattern.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Print multiple hashes of arrays at same time
by BrowserUk (Patriarch) on Jul 20, 2010 at 00:24 UTC | |
|
Re^5: Print multiple hashes of arrays at same time
by kennethk (Abbot) on Jul 19, 2010 at 20:02 UTC |