else{
my($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
$sn = sprintf("%04d%02d%02d%02d", $year + 1900, $mon + 1, $mday, 1)
}
I am trying to get $sn to print but suspect something in this code is amiss?
You are missing a ";" at the end of the $sn statement, so it should read:
}else{
my($sec,$min,$hour,$mday,$mon,$year) = localtime(time);
$sn = sprintf("%04d%02d%02d%02d", $year + 1900, $mon + 1, $mday, 1);
}
|15frank |08// |15netsurge
|07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07
https://scinet-ftn.org
--- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
* Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (21:4/154)