in reply to Deleting Oldest Logfiles
chomp( $LOGSIZE ) [download]
instead of:
chomp( $LOGSTR ) [download]
Super Search is also your friend.