[OT] PC-Soft morons again (was: Re: Spam?)

2008-07-13 Thread Dr.Ruud
Let's try to get these polluters expelled from The Internet: Lieber [EMAIL PROTECTED] / isolution.nl Dear [EMAIL PROTECTED] / isolution.nl Im Namen der E-MailAdresse: '[EMAIL PROTECTED]' / ' [EMAIL PROTECTED]' wurde v

Re: @INC and cross-platform path usage

2008-07-13 Thread Rob Dixon
Tobias Eichner wrote: > I have created a Perl library that I want to use with my programs (via > require). However the Perl library should be placed at a sub-folder of the > working directory (the place where the program runs). > > For example: > > /my/custom/path/ is the location of the program

using mysql NULL with IF statement

2008-07-13 Thread Huub
Hi, I'm adapting a Perl script using MySQL connectivity, and have to compare a variable, e.g. $myvar, with the value NULL from the database. In MySQL, I have to use the query 'where myvar is null', which works great. But when I try this in Perl, like 'if ($myvar == null)' or 'if ($myvar is nu

Re: using mysql NULL with IF statement

2008-07-13 Thread Jenda Krynicky
From: Huub <[EMAIL PROTECTED]> > I'm adapting a Perl script using MySQL connectivity, and have to compare > a variable, e.g. $myvar, with the value NULL from the database. In > MySQL, I have to use the query 'where myvar is null', which works great. > But when I try this in Perl, like 'if ($myva

Re: [OT] PC-Soft morons again

2008-07-13 Thread Gunnar Hjalmarsson
Dr.Ruud wrote: Let's try to get these polluters expelled from The Internet: How? The list member [EMAIL PROTECTED], who makes use of their 'service' for an address that is subscribed to a mailing list, is as big moron IMO. I tried to unsubscribe him, but apparently it failed. -- Gunnar Hja

question about "local our"

2008-07-13 Thread Roman Makurin
Hi All! I want to ask whats difference between usage of "local" and "local our" Here is example code: #!/usr/bin/perl use strict; use warnings; our $i = 0; sub t_func1 { local $i = 1; print "\$i = $i\n"; } sub t_func2 { local our $i = 2; print "\$i = $i\n"; }

RE: Handling ignore case and single line in pattern matchin

2008-07-13 Thread V.Ramkumar
Hi, If you don't define input line separator $/=undef; Perl reads line by line only. The below code is to match ignore case in regex. $inputline=~m/[a-z]+/i; Here i is used for ignore a case. It will match any group of character may be lower or upper or mixed case. Regards, Ramkumar Software -

RE: using mysql NULL with IF statement

2008-07-13 Thread Thomas Bätzler
Huub <[EMAIL PROTECTED]> asked: > I'm adapting a Perl script using MySQL connectivity, and have > to compare a variable, e.g. $myvar, with the value NULL from > the database. In MySQL, I have to use the query 'where myvar > is null', which works great. > But when I try this in Perl, like 'if ($