OO confusion

2009-01-08 Thread root
at it shouldn't be called like that after the fact but am surprised that it appeared to work, throwing no warnings or errors. Err I forget, Debian 4.0 Etch (mostly), Perl 5.8.4 $ CPU = P1. root@/deb40a:~/perl.practice> md5sum md5_hex; ./md5_hex md5_hex; ./md5_hex -d md5_hex; ./md5_hex

arguments in closure

2006-01-06 Thread root
Hello, about closure I read the Perl literacy course lecture #9 Closures Shlomo Yona http://cs.haifa.ac.il/~shlomo/ The explanations are clear but in this example: (it's an excerpt of an example of Shlomo) #!/usr/bin/perl use warnings; use strict; my $sumform = make_binary('$_[0] + $_[

Re: Is it legal ???

2002-08-20 Thread root
A Taylor wrote: > Hi all, I am trying to declare some variables and was wondering what the > best way to do this was. Is it legal to do something like this: > my (@pairs, $ENV, $buffer); > The reason I ask is that I am not sure if its cool to have Arrays and Scalar > vars within the same brackets

Re: BEGIN statement in Perl?

2002-08-20 Thread root
James Kipp wrote: > BEGIN blocks are interpreted a the first phase of compilation. eval blocks > and constants are also evaluated at this stage. so the code in the begin > block is run before compiling the rest of the file. > this insures the these variables are initialized before your sub is cal

Re: another reg needed

2002-08-20 Thread root
Connie Chan wrote: > Strange ... > > my ($row, $col) = /(\d+)/g; > Can get the value. > > but > my ($row, $col) =~ /(\d+)/g; > will get , only. > > Why ? > > Besides, that's really that mine one on the last post > doesn't work. but what's the problem ? > > Anyway, here is a stupid update for my a

Re: Escaping HTML tags

2002-03-23 Thread root
I'll gotta stop sending over-caffinated emails...wow, -w works... Scott Wahlstrom wrote: > Severe newbie that would RTFM if I would have brought it home and i'm not asking the >right monestary search strings so i humbly ask for your help... > > i'll go get going on a fresh pot of coffee.

better solutions for NetFtpServer1.0.7

2001-10-23 Thread root
Hi all, Thank Mr.Poczterski and Mr.Holstein , I have try to upgrade my old perl version to 5.6.1. The only problem is Syslog beacuse in the test steps I have /lib/syslog.t failed test 5. The error is in the row 58: print defined(eval { openlog('perl','ndelay',local0')}) ? "ok 5\n" : "n

NetFtpServer prerequisites.

2001-10-23 Thread root
Hi all, Now I would like to install the module Net-FtpServer1.0.7. When I write "perl Malefile.PL", I see this message: Warnings: prerequisite Sys::Syslog 0 not found at (eval 1 ) line 220. In the cpan site I don't find the module Sys::Syslog. Where Can I find this module ? Thanking in

Perl Test Failed with only kernel 2.4.x

2001-10-22 Thread root
Hi all, With kernel 2.4.x the"make test" of my perl-5.6.1 have 4 script errors: lib/dirhand failed test 3 lib/glob-basic failed test 2 lib/io_dir failed test 3 lib/syslog failed test 5 If I use the kernel 2.2.19, the test are all succesfully. Why ? config.sh like attachment. Best R

Text format?

2001-06-18 Thread root