Hi all,
We have one cisco router, the setting is as below.. this router is connecting to failover checkpoint. in checkpoint, there are some rules which point to subnet 10.10.10.128/192.
the router didnot recoginze subnet: 10.10.10.128/192. when I used "show arp", the subnet has no arp binding...
Hi,
I am working on VB program which insert data into AccPac OE.
Now I can insert OE Header,but details data always give me an error message "Order Detail": Record not Found(3)".
My code is the following:
OEORD0520.Init
SetOEFields OEORD0520_Fields, Rs_0520 ' Set the fields...
Thanks your reply. indeed, \w* is no use here.
actually, I am learning regular expression. I got this exercises from the book <<O'REILLY Learning Perl>>.
it is the exercises after the chapter "Regular Expressions" .
a. looks for a line containing all file vowels.
b. five vowels have to be in...
Hello everyone,
I want to look for a line containing all five vowels with regular expression. I wrote one, but it is very stupid. do you guys have any good way?
while(<STDIN>){
if ($_!~/\w*a\w*/) {
print "No Vowel a\n";
last;
}
elsif($_!~/\w*e\w*/) {
print "No Vowel...
Thanks. It get the right result.
but it has a little bit problem,for explample:
test="lolgh";
print "$1\n" if($test=~/\b(\w*(\w)\w*\2\w*)\b/);
it also match.I need just match like "hello,wall,room".
This is another regular experssion,it works.
$var1="20-20-20";
print $var1...
Thanks. I tried it. the result is
1)
$var="hello";
$var =~ /(.)\1/;
print "$var\n";
the output is "hello"
2)
$var="very";
$var =~ /(.)\1/;
print "$var\n";
the output is "very"
3)
$var="hello";
$var =~ /(.)\1/;
print "$&\n";
the output is "ll"
I want to get the whole word which has two same...
Hi guys,
I am learning how to use regular expression. Can I directly find a matching string and replace it in the same file?I mean input and outout is the same file.
For example:
test.txt :
Hello
All
Sed
Awk
wall
google
after I use "s/(.){2,}\1.*//g",test.txt turn into
heo
A
sed
Awk
wa
gle
Good Morning Everyone,
I did a very simple perl program, donot laugh at me.
####
open(USERFILE,"<test1.txt")||die "can't open this file! :$!";
open(USERINFO,">userinfo.txt")||die "can't open this file! :$!";
do{
$name=<USERFILE>;
chomp($name)...
Hi,
I got a task to extract data from HTML to database,then display the data from database. This HTML is from webpage with SAVEAS file function , like *.HTM.
In Perl deal with HTML, then in VB refernence PERl.
in VB ,How can I call PERL?
Good Morning,
I am a new onr to this Forum and to Perl. Now I plan to learn Perl . Today, I download ActivePerl-5.8.6.811-MSWin32-x86-122208.msi and install. everything is ok.
But when I click "c:/perl/perl.exe", it just give me a black-window.
How should I do to start Perl Application?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.