Re: telling time in perl

2001-07-12 Thread Bernhard Schmalhofer
Dave Arnold wrote: > > Thomas Jakub wrote in message > <[EMAIL PROTECTED]>... > >How can I tell how much time a program has been > >running for in a perl script? I tried to do $time01 = > >localtime() and $time02 = localtime() and then > >subtract $time01 from $time02, but I always get zero, > >

Re: telling time in perl

2001-07-11 Thread Dave Arnold
Thomas Jakub wrote in message <[EMAIL PROTECTED]>... >How can I tell how much time a program has been >running for in a perl script? I tried to do $time01 = >localtime() and $time02 = localtime() and then >subtract $time01 from $time02, but I always get zero, >even though there was about five or

Re: telling time in perl

2001-07-09 Thread fliptop
Thomas Jakub wrote: > > How can I tell how much time a program has been > running for in a perl script? I tried to do $time01 = > localtime() and $time02 = localtime() and then > subtract $time01 from $time02, but I always get zero, > even though there was about five or so minutes of > activity

telling time in perl

2001-07-09 Thread Thomas Jakub
How can I tell how much time a program has been running for in a perl script? I tried to do $time01 = localtime() and $time02 = localtime() and then subtract $time01 from $time02, but I always get zero, even though there was about five or so minutes of activity in between the parts where $time01