RE: Maketext and UTF-8

2004-09-03 Thread Andrés Felipe Hernández
Hi again, Is there a more specific list I can refer this to? I didn’t get any answers to my questions so I thought it would be good idea to ask somewhere else :) Cheers, Andrés -Original Message- From: Andrés Felipe Hernández [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004

Re: Comparing Arrays' Values

2004-09-03 Thread Wiggins d Anconia
> Hi guys (and gals!), > > I want to compare a constant, known (expected values) array with the > results I'm collecting in another array. > > Something like this, but I don't think this works the way I want it to: > > my @rray1 = qw( One Two Three ); > chomp( my @rray2 = ); > > print "The 2 a

Comparing Arrays' Values

2004-09-03 Thread Errin Larsen
Hi guys (and gals!), I want to compare a constant, known (expected values) array with the results I'm collecting in another array. Something like this, but I don't think this works the way I want it to: my @rray1 = qw( One Two Three ); chomp( my @rray2 = ); print "The 2 arrays are the same\n"

Re: newbie question about regex

2004-09-03 Thread David Dorward
On Fri, Sep 03, 2004 at 04:33:43PM +0200, Maurice Lucas wrote: > $ ./count.pl /var/log/file text > this works fine but sometimes the "text" is "foo(bar)" and then my scripts > gives an error. > syntax error near unexpected token `foo(b' That's a shell issue, not a Perl issue. Escape your brackets

Re: newbie question about regex

2004-09-03 Thread Maurice Lucas
Hello, I call my script with the following line $ ./count.pl /var/log/file text this works fine but sometimes the "text" is "foo(bar)" and then my scripts gives an error. syntax error near unexpected token `foo(b' I believe the syntax error is from your shell and you can get around this by quoting

Re: newbie question about regex

2004-09-03 Thread Wiggins d Anconia
> Hello, > > I call my script with the following line > $ ./count.pl /var/log/file text > this works fine but sometimes the "text" is "foo(bar)" and then my scripts > gives an error. > syntax error near unexpected token `foo(b' > I believe the syntax error is from your shell and you can get ar

RE: Problems installing DBD-Interbase on Fedora

2004-09-03 Thread Cristi Ocolisan
Hi Chris, I already asked on perl.dbi.users this question and I got only one response. It seems that I have to ask the authors directly. Anyway, I found a different driver, called Bundle::DBD::InterBase that works also on Fedora. Thank you. -Original Message- From: Chris Devers [mailto

newbie question about regex

2004-09-03 Thread Maurice Lucas
Hello, I call my script with the following line $ ./count.pl /var/log/file text this works fine but sometimes the "text" is "foo(bar)" and then my scripts gives an error. syntax error near unexpected token `foo(b' Could somebody give me a hint? I'm working on linux My script #!/usr/bin/perl

Re: Problems installing DBD-Interbase on Fedora

2004-09-03 Thread Chris Devers
On Fri, 3 Sep 2004, Cristi Ocolisan wrote: When I type "make" I get the following error: "Error: Cannot parse function definition from 'strEQ(item, #name)) { \' in Interbase.xs, line 478 ' in Interbase.xs, line 487n definition from' keyname = #name; make: *** [InterBase.c] Error 1" Can anyone tell

Re: Inserting short strings into longer strings -- strncpy in Perl?

2004-09-03 Thread Edward WIJAYA
@array3 indicates the string was to overwrite at a random position. I assume the entire string must be inside the result. Yes, you are right Charles. And thanks so much too for Gunnar and Jeff. Best, Edward WIJAYA SINGAPORE -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Where to get Math-TrulyRandom for PPM?

2004-09-03 Thread Edward WIJAYA
Hi, I've tried all the repositories as suggested by Active State documentation, including Jenda's repository. But I always encounter error message "Fail to download..." Hope to hear from you guys again. Regards Edward WIJAYA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: Hi

2004-09-03 Thread Bob Showalter
Anish Kumar K. wrote: > Hi Welcome. > > I am Beginner in perl..Can any one sugges some sample programs of > PERL where I can build the skills. Please let me know at the > earliest. Thanks Start at http://learn.perl.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: screensaver prevention

2004-09-03 Thread Chris Devers
On Fri, 3 Sep 2004, JP wrote: Why not just change it in the system settings? Because my administrator turned off the permissions to change te settings Ok, that changes everything. This was worth mentioning in your first mail! :-) -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:80

Re: screensaver prevention

2004-09-03 Thread Chris Devers
On Fri, 3 Sep 2004, JP wrote: Here is what I've been trying: It's good that your using 'use strict', but you have to be aware that this changes how you have to write your code. The 'use strict' pragma forces you to explicitly declare variables by prefixing them with "my" the first time they are

RE: can´t call method "xyz" on an undefined value at...

2004-09-03 Thread Charles K. Clarkson
Bastian Angerstein <[EMAIL PROTECTED]> wrote: : Now I gate can´t call methode can on an undefined : value xyz line xyz. Any Idea? Show us your code. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Hi

2004-09-03 Thread Anish Kumar K.
Hi I am Beginner in perl..Can any one sugges some sample programs of PERL where I can build the skills. Please let me know at the earliest. Thanks Anish

Re: screensaver prevention

2004-09-03 Thread JP
Here is what I've been trying: #!perl use warnings; use strict; use Win32::API; use Tk::CursorControl; $cursor->moveto(0, 0, -time=>1000); but I receive an error: Global symbol "$cursor" requires explicit package name at D:\tmp\ste.pl line 9. Execution of D:\tmp\ste.pl aborted due to compilat

can´t call method "xyz" on an undefined value at...

2004-09-03 Thread Bastian Angerstein
Now I gate can´t call methode can on an undefined value xyz line xyz. Any Idea? -Ursprüngliche Nachricht- Von: Charles K. Clarkson [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 3. September 2004 10:37 An: 'Bastian Angerstein'; 'Mailinglist Perl Beginners' Betreff: RE: can´t call method "xy

RE: can´t call method "xyz" on an undefined value at...

2004-09-03 Thread Charles K. Clarkson
Bastian Angerstein <[EMAIL PROTECTED]> wrote: : How can I check if a Method is undefined or not without : getting this error? Assuming you mean the method to an object. Use the UNIVERSAL method 'can'. use CGI; my $q = CGI->new(); print "method 'xyz' invalid for '\$q'\n" unless $q->can( 'xy

Re: screensaver prevention

2004-09-03 Thread JP
> Why not just change it in the system settings? Because my administrator turned off the permissions to change te settings > > If that's not good enough, why not have Perl poke at the registry so > that it can change the system settings? I don't want to poke around on somebody elses system; it is

Re: can´t call method "xyz" on an undefined value at...

2004-09-03 Thread Ing. Branislav Gerzo
Bastian Angerstein [BA], on Friday, September 3, 2004 at 10:19 (+0200) wrote these comments: BA> I, once again, have a question. BA> How can I check if a Method is undefined or not without getting this error? maybe defined() helps. -- ...m8s, cu l8r, Brano. [Love conquers all things but pov

RE: Inserting short strings into longer strings -- strncpy in Perl?

2004-09-03 Thread Charles K. Clarkson
From: Jeff 'japhy' Pinyan wrote: : On Sep 3, Edward Wijaya said: : : : @arr1 =('GATGGATTAAAGGAGAGGTACTTACAGG', : : 'CGCCCAAGAGGCCAGAGCGGAGCA', : : 'CGTTAATGCATTAAAGTTCT'); : : : :@arr2 = ('tcctcta', : : 'aggccac',

can´t call method "xyz" on an undefined value at...

2004-09-03 Thread Bastian Angerstein
Good Morning, I, once again, have a question. How can I check if a Method is undefined or not without getting this error? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems installing DBD-Interbase on Fedora

2004-09-03 Thread Cristi Ocolisan
Hi, everybody! I have to work with FireBird database, for a project of mine. I grabbed from CPAN a DBD-InterBase (version 0.43) to work with, and installed it on Windows. It works perfectly. I also installed it on Red Hat 9 at my work place and it works very well. The problems started when I tr