- --- In perl-beginner@y..., "Shepard, Gregory R" <gregory.r.shepard@x>
> I had this substation working before, however it is not correctly
> substituting the time with my new format. Whats going on?
> $xtime = localtime();
> $xtime =~
It is hard to say, because I do not know what the new format is
supposed to be. However, some problems are apparent. When recalling a
value that the regex has saved use \1, \2, \3 etc. not $1, $2, $3.
The latter is for use outside of the regex, not inside it.
It is not clear what $n is supposed to be doing. \n is a line return.
Is that what you meant?