in reply to Help! Stuck on methods to count file size.

Unrelated to your question, but I think you can simplify:
@Janlen = ( '006', '007', '008', '009', '010', '011', '012', '013', '0 +14', '015', '016', '017', '018', '019', '020', '021', '022', '023', ' +024', '025', '026', '027', '028', '029', '030', '031' );

as:

@Janlen = map { sprintf '%03d', $_ } 6 .. 31;

Same for Feblen. Also, I think those pluses are an artifact of how you posted your code. Read Writeup Formatting Tips and post here again.

Replies are listed 'Best First'.
Re^2: Help! Stuck on methods to count file size.
by Lennotoecom (Pilgrim) on Oct 10, 2013 at 17:13 UTC
    @a = ('006' .. '031'); :)
      I tried this format before but it doesn't work, most likely it is my code problem, thank you greatly for your input!
Re^2: Help! Stuck on methods to count file size.
by Anonymous Monk on Oct 11, 2013 at 03:05 UTC
    I'll try it, I think it works, thank you very much for your posting.