User Profile
Collapse
Profile Sidebar
Collapse
lakshmikant
Last Activity: Sep 4 '12, 10:51 PM
Joined: Jun 21 '12
Location:
-
Hi Ron I did not get any answere to repond -
how to get the value of using condition check
I have a file
------------------------------------------------------------------
Port Speed Duplex Flow Ctrl Link Name
---- ----- -------- --TX-----RX-- ------ ------
1 10000 full no no down 1
2 10000 full no no down 2
3 10000 full no no down 3
4 10000 full no no down 4
5 10000 full no no down 5
6 10000 full no no down 6
7 10000 full no no down 7
8 10000 full no... -
getting error in regular expression
can anyone tell me whats wrong with it, I am not able to get the answer.Code:$digits = "123456789"; @nonlap = $digits =~ /(\d\d\d)/g; @yeslap = $digits =~ /(?=\d\d\d\)/g; print "non-overlapping: @nonlap\n"; print "overlapping: @yeslap\n";
code is in perl
No activity results to display
Show More
Leave a comment: