a Regular troble

2012-10-16 Thread xiyoulaoyuanjia
hi listers: i am very sorry to say that i recently get in trouble with a Regular ! i want math the middle of 123 and 456 string! the Test Case below: -- 123faf456fafafafa->faf 33312323ff456456--->23ff 9123445677456-->4 --

thread error

2012-10-15 Thread xiyoulaoyuanjia
hi listers: now i have a question is abort thread i have a main process that have ssh a remote host and everything is ok! but when i use thread it have a error like that - Thread 1 terminated abnormally: DBD::mysql::db do failed: handle 2 is owned by thread 1182010

Re: regular error

2012-07-12 Thread xiyoulaoyuanjia
> 2012/7/12 timothy adigun <2teezp...@gmail.com> > >> Hi xiyoulaoyuanjia, >> Check my comments below. >> >> On 7/12/12, xiyoulaoyuanjia wrote: >> > i am very sorry ! i am intend to parse variable $a by the regular >> > variable $b . in

Re: regular error

2012-07-11 Thread xiyoulaoyuanjia
do. Exactly what error > message are you getting? > > -Original Message- > From: xiyoulaoyuanjia [mailto:xiyoulaoyuan...@gmail.com] > Sent: Wednesday, July 11, 2012 10:54 PM > To: beginners@perl.org > Subject: regular error > > *hi all:* > * i have an error in below

regular error

2012-07-11 Thread xiyoulaoyuanjia
*hi all:* * i have an error in below * regular $a="abc[0]"; $b="bc[0]"; $a=~/$b/; - how can i do in this way? thanks ! -- 继续上路。。 you can follow me at twitter @xiyoulaoyuanjia

Re: use sort error

2012-07-05 Thread xiyoulaoyuanjia
line 15.“ i did not know why . IMO $a is a hash not a hash reference。it Iteration values ( rsh => "0.4",) which values will return 0.4, and another. can you tell me the reason ! thank your very mush! 2012/7/5 Shlomi Fish > Hi xiyoulaoyuanjia, > > On Thu, 5 Jul 2012 22

use sort error

2012-07-05 Thread xiyoulaoyuanjia
hi: i want sort my array .but the result is not right. i did not know why ? ---begin code-- perl -e ' @AoH = ( { rsh => "0.4", }, { telnet=> "0.022", }, { ssh => "0.3",