You could chomp each variable separately, or you could chomp them all at once, like this:
chomp ($yr,$mm,$dd,$yyyymmdd); [download]
In reply to Re: simple question by matija in thread simple question by pietyc