Hi I am not a beginner to perl, but am a beginner to this problem! I create a perl object, read about 500,000 rows from a MySQL database, populate some...
I Guess, The problem is due to the limitation of screen buffer. I would suggest you to, Try redirecting the output to a file instead of screen and share your...
... I don't think you are looking at the right place. Though it's hard to suggest where to look. What does it do if you add something like END {print "Exiting...
Hi I have "print STDERR..." statements throught my script, with a call to `date` appended so I know when it happens. I also have similar statements before and...
Hmmm, OK, I will try this, thank you, but as there are only 17000 rows of output, is it really possible perl takes 20 mins to write that to a file?! ...
25780
John Francini
francini@...
Oct 3, 2007 2:45 pm
Not likely; it's just that output to STDERR/STDOUT is buffered and isn't guaranteed to come out at the moment it's generated unless you've set $| to 1 on...
25781
selva kumar
templateteam@...
Oct 4, 2007 3:53 am
Hi Hernán, I am using PC version. I think this is UniX command. Is there any other way to do this in PC version. Regards Anil Hi! i had the same problem and I...
Hi Thanks for the response. The data is directed to a file, not to the screen, and there are plenty of new-lines in there so perl should be flushing it's...
25784
John Francini
francini@...
Oct 4, 2007 12:46 pm
Ah, but Perl doesn't always flush output out to the terminal as it's generated unless you have the special variable $| (or $AUTOFLUSH if you used English) set...
... michael> Hmmm, OK, I will try this, thank you, but as there are only 17000 rows michael> of output, is it really possible perl takes 20 mins to write that...
... other way to do this in PC version. ... Hi Anil You will need to go to http://www.foolabs.com/xpdf/ to download xpdf, (look for the Windows version in the...
25788
selva kumar
templateteam@...
Oct 6, 2007 8:58 am
Hello All, Is there any possibilities to convert mathml coding to mathtype acceptable eps via perl. Can anyone suggest me how can i achive this. Regards ...
Hey Gang- I can't seem to figure this out. This script used to work when I ran it on an old machine. This was several years ago however. I can't think of...
I have a scalar ($port) that can contain any one of the following hme0, eri0, gfe0, ce0. The number part can be anywhere from '0' and probably won't go any...
... So $port is a string of lowercase letters followed by a number (one or more digits), and you'd like to add a space between the letters and numbers? The...
Is there a book on Perl and MySQL that gives code samples.... I have a file, 200x200 characters. I just want to read a 7x7 area of the file. Thats 7 charecters...
Gret idea but not quite1 Using the following code. print "$port92;n"; $port =~ s/([a-z])(92;d)/$1 $2/; print "$1 == $2\n"; I get the results, It drops the first...
... You're not using it correctly; don't print $1 or $2 afterwards, print $port. The code I gave changes $port for you. -- [Mary said,] "Do whatever he tells...
Thank you that worked regular expressions isn't my strong point, but I'm wotking on it. ... Don Dukelow HP UNIX OVO Enrollment Hewlett-Packard (Canada) Co. ...
This also works! $port =~ s/(\D)(92;d)/$1 $2/; ... Don Dukelow HP UNIX OVO Enrollment Hewlett-Packard (Canada) Co. e-mail: dukelow@... URL: http://www.hp.ca...
I wrote a small script to interact with a user over the web to search a dictionary in multiple ways. It takes approximately 4 seconds to build my structured...
I have a 200 x 200 charecter file. Thats 200 lines, each having 200 charecters. Currently I have to read the whole file and then pick out the 7 lines, 7 ...
25802
Emen Zhao
emenzhaowork@...
Oct 10, 2007 3:06 pm
Here is a simple one liner # perl -wnl -e '/reg/ and print' file_name note: customize reg part to fit your needs ... [Non-text portions of this message have...
Thank you.. but I have no clue what you just wrote. Is that a perl command? something that goes to a module? or something to look up on line? I admit to not...
... Lou> Is that a perl command? something that goes to a module? Lou> or something to look up on line? Lou> I admit to not knowing alot..... Perhaps you...
I have reviewed how to use SEEK, TELL, GETC and I am able to use them quite well. I was hoping that GETC might have a command like $VAR = GETC(FILE, position, ...
... Lou> As you can see, I have a clue as to what I am doing. Lou> I simply can't find any info on a better GETC command. That's because nobody uses getc()....
OK thanks What size file is considered large? I am writing an online game.. still... after 3 years and several rewrites as I learn more.. If nothing else its...