Re: "$#{$array} "

2005-08-14 Thread kyle
i dunno "Tom Allison" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Vineet Pande wrote: >> Hi, >> I don't not understand how the $#{$array_r} returns "highest" element as >> 4 and not 5??? >> >> #!/usr/bin/perl >> use warnings; >> use strict; >> my @array = (1,2,3,4,5); >> my $arr

Beginner question

2005-03-26 Thread Kyle Lampe
Hello! I've got a quick perl question for you. I'm writing a script that compares two xml files, ignoring one certain tag. The problem I have is I want to get the output from two files simultaneously. What I'm trying is: while ( $lineFile1 = && $lineFile2 = ) { if ( $lineFile1 =~ /$IGNOR

Out of memory!, while extending scalar with vec()

2006-12-03 Thread kyle cronan
hing tried to allocate a negative number of bytes! Should I submit this with perlbug? Thanks, Kyle Cronan <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Out of memory!, while extending scalar with vec()

2006-12-03 Thread kyle cronan
On 12/3/06, Bill Jones <[EMAIL PROTECTED]> wrote: On 12/3/06, kyle cronan <[EMAIL PROTECTED]> wrote: > (1<<$ARGV[0]) Just a thought - The argument you are passing is really the two's complement; so you are really passing 256M (not 28) to the vec statement. So what

Check if file is being modified by another process

2007-07-04 Thread kyle . halberstam
- one way is perhaps inifinite loop checking mmtime until it is stable for a certain amount of time?? I am not sure. Any help will be greatly appreciated. Thanks Kyle -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Perl mapping solution

2004-01-10 Thread Kyle Sexton
perl monger map. If someone could give me some advice on what a good solution to read about is it would be greatly appreciated. Thanks in advance. Thanks, Kyle Sexton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>

mod_perl error

2004-01-13 Thread Kyle Sexton
I'm getting an error with a mod_perl script I'm working on that says this: error: [Tue Jan 13 10:59:17 2004] [error] 25297: ModPerl::Registry: Image::Imlib2 load error: No loader for file format at find.pl line 19. The script runs fine when it is at the command line, but when I run it from th

newbie - in

2002-09-27 Thread Kyle Babich
Does Perl have an in operator or something similar? If not how would I find out if a certain list has a certain element? Thank you, -- Kyle -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

newbie user-pass attempt

2002-10-09 Thread Kyle Babich
After trying my hand at perl, realizing it was above my head, going back at starting with python, and now trying again at perl this is my first (failed) attempt at a user-pass program attempt, except it never accepts the username. What is wrong with it? %up = { 'kyle' => 123, &