 |
|
Home:
Perl Programming Help:
Beginner:
Re: [peacengell] Hi any help please :
Edit Log
|
|

7stud
Enthusiast
Jan 20, 2013, 10:59 PM
Views: 347
|
|
Re: [peacengell] Hi any help please
|
|
|
Where is there a \t anywhere in cd.txt? perl is telling you that there is no 4th item after split()'ing, i.e. $year remains undef. If you do this:
my @pieces = split/\t/; for (@pieces) { say; } say '*' x 20; ...you should be able to quickly see what's wrong.
(This post was edited by 7stud on Jan 20, 2013, 11:18 PM)
|
|
|
Edit Log:
|
|
Post edited by 7stud
(Enthusiast) on Jan 20, 2013, 11:02 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 20, 2013, 11:02 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 20, 2013, 11:03 PM
|
|
Post edited by 7stud
(Enthusiast) on Jan 20, 2013, 11:18 PM
|
|
|  |