Thanks a lot... Sometimes my head gets jammed like the traffic situation in SFO and these days in Bangalore:-) -Arijit[EMAIL PROTECTED] wrote: Hi Arijit, >I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2]
In a message dated 3/6/2006 5:37:39 P.M. Eastern Standard Time,
[EMAIL PROTECTED] writes:
> From: [EMAIL PROTECTED]>
[mailto:[EMAIL PROTECTED] > Sent: Monday, March 06, 2006
2:07 PM> Subject: regexp vs substr for string capture?>
>Wizards, > >I thought regexp was the fastest way to pull s
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Monday, March 06, 2006 10:06 PM
Subject: regexp vs substr for string capture?
#
use strict;
use warnings;
use Benchmark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, March 06, 2006 2:07 PM
Subject: regexp vs substr for string capture?
>Wizards,
>I thought regexp was the fastest way to pull strings out of another string;
certainly faster >than substr(). It seems I was wr
[EMAIL PROTECTED] wrote:
>
> I thought regexp was the fastest way to pull strings out of another
> string; certainly faster than substr(). It seems I was wrong, as the
> following code showed
>
>
>
> This showed that "old way" ran more than 1200% faster. That's right,
> twelve hundred per ce
Wizards,
I thought regexp was the fastest way to pull strings out of another string; certainly faster than substr(). It seems I was wrong, as the following code showed
#
use strict;
use wa
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arijit
Das
Sent: 06 March 2006 14:07
To: activeperl@listserv.activestate.com;
perl-unix-users@listserv.activestate.com
Subject: What am I doing wrong here...?
> I am just wondering...what am I doing wrong here. Why isn't
"$latest_CPU_l
I am just wondering...what am I doing wrong here. Why isn't "$latest_CPU_load\n" printing the desired value like $top_output[2] Any help here? Thanks, Arijit vgamd127> cat test.pl#!/depot/qsc/VG1.0/bin/perl @top_output = `top -n1 -b -i | head -35`;print "$top_output[2]";$latest_CPU_l
Dear Monks,
I normally receive Tex files where author define their own Macro/Class files
and use it in Tex file. One of my applications require standard Tex file.
I searched in CPAN for a module, which would scan Macros/Class files and
convert the Tex file to standard Tex file (By properly converti