$mon = '/accounts/person/code.42/file.MON.DOC'; my ( $d, $m, $y ) = (localtime)[3..5]; ++$m; $y+=1900; substr($mon,rindex($mon,'.'),0)=".$y$m$d";
In reply to Re: Creating Filenames using variables
by Vystrax
in thread Creating Filenames using variables
by rass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |