Yes this is badly organised but you do not show any data processing. You have a series of lines of the format
if ( $this ) { print "You have obtained $this this stuff\n"; }
How you got to this stage is not show, nor is a sample of the file format you are parsing. strict works fine and the errors you get will have a meaning. You need to post some sample log data your complete code if you really want answers. Use <readmore> tag to hide lengthy stuff like the data and code. Ask specific questions like "Why does strict complain about this?", "How can I parse this data efficiently?" or like you have said "This is ugly but I don't know enough perl to make it better. Suggestions welcome!"
In reply to Re: help with "use strict" and code organization
by tachyon-II
in thread help with "use strict" and code organization
by MrFloydFreak42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |