Re: No such file or directory

2008-05-21 Thread anthony brooke
- Original Message From: Jeff Peng <[EMAIL PROTECTED]> To: Perl Beginners Sent: Wednesday, May 21, 2008 15:53:00 Subject: Re: No such file or directory > open(RULES, 'rule.pl') please use full path if you don't know where you are exactly. On Wed, May 21,

Re: No such file or directory

2008-05-21 Thread anthony brooke
anthony brooke wrote: > Hello, I know that this is a very common problem, but I am very sure that > the file exist in that directory, also its permission is -rwxrwxrwx , why > does it give such an error ? What are the other potential problems that cause > this ? Thanks >

Re: No such file or directory

2008-05-21 Thread anthony brooke
anthony brooke wrote: > Hello, I know that this is a very common problem, but I am very sure that > the file exist in that directory, also its permission is -rwxrwxrwx , why > does it give such an error ? What are the other potential problems that cause > this ? Thanks >

No such file or directory

2008-05-20 Thread anthony brooke
Hello, I know that this is a very common problem, but I am very sure that the file exist in that directory, also its permission is -rwxrwxrwx , why does it give such an error ? What are the other potential problems that cause this ? Thanks Send instant messages to your online friends http://uk

Re: Initialize object permanently

2008-05-16 Thread anthony brooke
ere a work around of this with mod_perl ? Thanks - Original Message From: Rob Dixon <[EMAIL PROTECTED]> To: beginner perl mailling list Cc: anthony brooke <[EMAIL PROTECTED]> Sent: Saturday, May 17, 2008 0:47:52 Subject: Re: Initialize object permanently anthony brooke wrote:

Initialize object permanently

2008-05-16 Thread anthony brooke
Hello, I am using Wordnet::QueryData which allow access to a very huge dictionary data. The initialization of object my $wn = WordNet::QueryData->new; took 2 wallclock secs ( 2.36 usr + 0.07 sys = 2.43 CPU) Then the subsequent request for the data is exetremely fast For the lines below too

initialize data permanently

2008-05-14 Thread anthony brooke
Hello, I am using Wordnet::QueryData which allow access to a very huge dictionary data. The initialization of object my $wn = WordNet::QueryData->new; took 2 wallclock secs ( 2.36 usr + 0.07 sys = 2.43 CPU) Then the subsequent request for the data is exetremely fast For the lines below to

Concatenate similar data in array

2008-04-16 Thread anthony brooke
Hello, my logic is really bad, here is I want to do. my @list = qw(a b a a d e e ); I want to compact the array by concatenating the adjacent vowels and consonant together, like for the above it should become, my @list2 = qw(ab aa d ee); How do I get the @list2 ? Thanks. Send instant mess

Re: Fw: Perl maximum execution time

2008-04-14 Thread anthony brooke
: Perl maximum execution time From: anthony brooke <[EMAIL PROTECTED]> > Thanks for the reply, but sometimes I don't know where is the code > that cause the infinite loop. Is there such as thing as perl > configuration file, to set the execution time for any code, any where

Fw: Perl maximum execution time

2008-04-14 Thread anthony brooke
Thanks for the reply, but sometimes I don't know where is the code that cause the infinite loop. Is there such as thing as perl configuration file, to set the execution time for any code, any where in the program just like php.ini file. Thanks. - Original Message From: Chas. Owens <[EM

Re: Perl Serialize object as string

2008-04-06 Thread anthony brooke
Thanks for the reply, I always thought that Dumper is used for debugging purposes, I will look at it deeper. Btw, what you mean by cyclic data ? - Original Message From: Chas. Owens <[EMAIL PROTECTED]> To: anthony brooke <[EMAIL PROTECTED]> Cc: beginner perl maillin

Perl Serialize object as string

2008-04-06 Thread anthony brooke
Hello everyone, I need to serialize an perl object to STRING TEXT, not scalar or file. The Storable module allow serialization to file and scalar variable, but this is not possible for passing between the perl and prolog program, that's why I need it to be string. I tried out the FreezeThaw modu

locate install C code module

2008-04-02 Thread anthony brooke
I had installed the Language::Prolog::Yaswi from http://search.cpan.org/~salva/Language-Prolog-Yaswi-0.14/Yaswi.pm but it is in C code implementation, normally when I install a perl module, it should be located at /usr/local/share/perl/5.8.8 but I can't see where is the Language::Prolog::Yaswi

Install CPAN module in shared hosting

2008-03-28 Thread anthony brooke
Hello, I like to install CPAN modulike like AI::Prolog, I have the Cpanel that have CPAN module installer, but my shared hosting does not allow some modules to be installed like this AI::Prolog, what can I do ? Should I install it in my computer first and then copy the PM files to my web host