[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] OT: Showing uptime via web
- Subject: RE: [cobalt-users] OT: Showing uptime via web
- From: "Stew Smith" <stew@xxxxxxxxxx>
- Date: Tue Aug 22 18:26:54 2000
> Well, if you can tell me how to get rid of that "comma" in
> the output, then I can tell you which permissions to give the script
> to make it work with CGI-Wrapper.
To conditionally get rid of a comma, try this expression:
if ($token =~ /\S,$/)
{ chop $token; }
...which removes the last character of $token if it is a comma.
--Stew Smith