Re: send variable

2001-05-08 Thread Johan Groth
nakosu-budi wrote: > > i have try from john lee mail. but i got problem > the message syntax error at ./test.pl line 2, near "use > CGI." > #!/usr/bin/perl -w > use CGI.pm This row should end with a ';'. thus use CGI.pm; /Johan -- Johan Groth (xghjn)

Re: regexp trouble

2001-05-07 Thread Johan Groth
Tony Cook wrote: > [snip] > > or by literally choosing the characters you want to match (preferably > using ranges): > >$tmp =~ s/^[a-z0-9]+_//i; Thank you! That did the trick. /Johan -- Johan Groth (xghjn) ! Tel. mobil: 0703 - 24 25 27 Cell Network

Re: regexp trouble

2001-05-07 Thread Johan Groth
ore_text would become more_text. Does anyone know to accomplish this? /Johan -- Johan Groth (xghjn) ! Tel. mobil: 0703 - 24 25 27 Cell Network! Kontoret: 054 - 14 25 27 [EMAIL PROTECTED] ! Bofors: 0586 - 820 14 [EMAIL PROTECTED]

regexp trouble

2001-05-07 Thread Johan Groth
that results in $tmp eq "ddd" instead of "bbb_ccc_ddd". /Johan -- Johan Groth (xghjn) ! Tel. mobil: 0703 - 24 25 27 Cell Network! Kontoret: 054 - 14 25 27 [EMAIL PROTECTED] ! Bofors: 0586 - 820 14 [EMAIL PROTECTED]