first,what is the meaning of if($pcs =~ /(\d+)/ $pcs =~ /\./) ,
$pc should contain at least 1 or more digits and it should also contain a
decimal point i.e '.'
I can’t understand the re /\./
It is escaping the dot character i.e '.' - thus normal behaviour of '.' to
match a single character
On Thursday 19 Nov 2009 16:54:00 gaochong wrote:
Now I have see the following page ,but I have some question and need help .
http://www.cpan.org/authors/id/S/SU/SUJAI/Process-Detail-0.1.pl
From a quick look, this script seems awful:
1. No use strict; and use warnings;.
2. uses Switch.pm.
Shlomi Fish wrote:
On Thursday 19 Nov 2009 16:54:00 gaochong wrote:
Now I have see the following page ,but I have some question and need help .
http://www.cpan.org/authors/id/S/SU/SUJAI/Process-Detail-0.1.pl
the second , @array=split(/([A-Z]+(_|[A-Z])+\=.[^A-Z]+)/,$_);
also the re