Re: use of backslash..

2005-08-10 Thread Jeff 'japhy' Pinyan
On Aug 10, Vineet Pande said: I faced an example where in a loop: if (\$base2\) You probably say if (/$base2/) { ... } The /.../ is a pattern match. It's shorthand for if ($_ =~ /$base2/) { ... } which treats $base2 like a regular expression (pattern) and tries to find a substring i

about backslash..(correction)

2005-08-10 Thread Vineet Pande
my previous mail should be corrected for backslash to forward slash / thanks vineet _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To

use of backslash..

2005-08-10 Thread Vineet Pande
Hello, I faced an example where in a loop: if (\$base2\) is used>> the backslashes are used for what? for instance than why not we use the same for an array variable: foreach (@dna) Does it have to do with if(0) or if (1) rather than literally taking the value .. thanks in advance cheers,

Re: Encoding iso-8859-16

2005-08-10 Thread Nicholas Clark
On Wed, Aug 10, 2005 at 02:11:45PM +0530, Sastry wrote: > On 8/9/05, Nicholas Clark <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 09, 2005 at 10:58:48AM +0530, Sastry wrote: > > > > $enc_string = encode("iso-8859-16", $string); > > So $enc_string should be a single byte, 97, everywhere. > Can you su

Re: Encoding iso-8859-16

2005-08-10 Thread Sastry
On 8/9/05, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Tue, Aug 09, 2005 at 10:58:48AM +0530, Sastry wrote: > > Hi > > > > I get 73 printed on EBCDIC platform. I think it is supposed to print > > 129 as it is the numeric equivalent of 'a'. > > > > -Sastry > > > > > > > > On 8/8/05, Nicholas Cla

How does miniperl use enc2xs to generate different codepage tables?

2005-08-10 Thread Sastry
Hi a)Can somebody tell me how miniperl uses enc2xs to generate the codepage tables in ext/Encode/Byte/byte_t.c and ext/Encode/def_t.c? b)Are these tables different on ASCII and EBCDIC platform? -Sastry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl regexp need help!

2005-08-10 Thread Alex
On Wednesday 10 August 2005 04:36, you wrote: > On 8/9/05, Wagner, David --- Senior Programmer Analyst --- WGO > > <[EMAIL PROTECTED]> wrote: > > Alex wrote: > > > Hello everyone, > > > > > > I need some help to fix a problem in mailgraph.pl script. I'm not a > > > perl programmer, so i hope to fin