Formatting output

2004-02-10 Thread Roger Grosswiler
hi again, thanks to you, i got it with my date. so 1st point is out. i still have a short problem, as i should get my date back in the format ddmmyy and i get it in d m y (with %2d, but how to handle in vars) #!/usr/bin/perl $t1=time(); $t2=$t1 - 604800; $diff=$t1 - $t2; print "Zeit 1; $t1\tZe

Date manipulation

2004-02-10 Thread Roger Grosswiler
hi list, i'd like to try a first perl-script that should: -define todays date -define todays date minus one week -find in a special directory files, that contain ddmmyy -remove them ..since i am an absolute beginner in programming...i think, if i can read out this directory, i can find the files