Hello,
What's the standard way to calculate a subroute's executed time in Perl?
Thanks in advance.
Jenn
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi Jenn,
practicalp...@gmail.com wrote:
What's the standard way to calculate a subroute's executed time in Perl?
Thanks in advance.
I don't know what's the standard way, but I use the times function and
get the user time before and after the subroutine and then subtract.
But I want the result to be millisecond not only be second. thanks.
On Mon, Jun 1, 2009 at 5:01 PM, Raymond Wan r@aist.go.jp wrote:
Hi Jenn,
practicalp...@gmail.com wrote:
What's the standard way to calculate a subroute's executed time in Perl?
Thanks in advance.
I don't know
But I want the result to be millisecond not only be second. thanks.
On Mon, Jun 1, 2009 at 5:01 PM, Raymond Wan r@aist.go.jp wrote:
Hi Jenn,
practicalp...@gmail.com wrote:
What's the standard way to calculate a subroute's executed time in
Perl?
Thanks in advance.
I don't know
Raabe, Wesley wrote:
I am using regular expressions to alter a text file. Where my original file has three spaces to start a paragraph, I want to replace each instance of three spaces with a bracketed paragraph number, with a counter for paragraph numbers, pgf 1, pgf 2, pgf 3 etc. [...]
The
On 6/1/09 Mon Jun 1, 2009 1:58 AM, practicalp...@gmail.com
practicalp...@gmail.com scribbled:
Hello,
What's the standard way to calculate a subroute's executed time in Perl?
Thanks in advance.
One popular way is to use the Benchmark.pm module.
See 'perldoc Benchmark' or
Hi: I have web page built using perl cgi. Generated page has the following
element
div id=userName style=display: none; name=userName admin /div
Within the perl script is there a way to access the value of the element
userName and assign it to a variable?
Something along the lines
Farrell, Patrick wrote:
Thanks.
What if I added numbers like this
$msgText =~ s!(?= )([a-z,0-9]+)(?= )!bold$1/bold!g;
Did you really want to include a comma as part of that character class?
But I didn't want a string of only numbers?
In the strings I waned, I know the first character
On 6/1/09 Mon Jun 1, 2009 1:40 PM, Ravi Malghan rmalg...@yahoo.com
scribbled:
Hi: I have web page built using perl cgi. Generated page has the following
element
div id=userName style=display: none; name=userName admin /div
Within the perl script is there a way to access the value of
Ravi Malghan wrote:
Hi: I have web page built using perl cgi. Generated page has the
following element
div id=userName style=display: none; name=userName admin
/div
Within the perl script is there a way to access the value of the
element userName and assign it to a variable? Something along
10 matches
Mail list logo