Help for this page

Select Code to Download


  1. or download this
    use POSIX qw(strftime);
    my $time = POSIX::strftime( "%T", localtime)
    
  2. or download this
    my $msg = substr( $msg, 0, 50 ) . '-'
        if 50 < length $msg;