Result of xmessage

2002-07-01 Thread Vitor Carlos Flausino
Hi, my perl code is as simple as #!/usr/bin/perl if (system (xmessage -default No -nearmouse -buttons Yes:2,No:3 Do you realy want to run Daily TVG?) == 0){ } print $?; The result is 26112 when i press Yes and 25856 when I press No (). If I run from the command line, the result

Remove a character from a string

2002-04-02 Thread Vitor Carlos Flausino
Hi! I'm trying ro remove the charactes '' and '' a string. How do I do it? what is wrong with... $sender=~tr//d; *sorry* if is a stupid line from the beginig is there any *smart* of puting all characters in lowrecase and at the same time remove the characters I

hard question (for me)

2002-02-13 Thread Vitor Carlos Flausino
Can someone tell me what does this pattern means? ((NI)( NI| )? ?(\d{10}|\w{5})|(NI )?(QG|SR) ?(\d{9})) Who is $1, $2, $3 . thanks, -vcf.DTI.PGA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]