Allen, I think I know how to do it: ||123456789y-2000||I's Birthday||I was born on this day <--1900--> years ago||2000
Then (I'm making it up now, that's why it's not so 'intelligent', and I didn't test it) foreach(@file) { @desc = split(/||/, $_); if ($desc[1] =~ m/(y-)(d+)/) { if ($2 ne $GotTime{JSYear}) { &ubb_mail(blablabla); $desc[1] =~ s/y-$2/y-$GotTime{JSYear}/; $_ = join("||", @desc); } }
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.