First  |  Prev |  Next  |  Last
Pages: 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
Decimal sort
Is there any way to sort floating point numbers in perl? Every example I have tried has failed. Numerical sort appears to NOT to be a numerical sort but rather an integer sort. Thanks, Marshall ... 3 Mar 2010 17:31
FAQ 8.26 Why doesn't open() return an error when a pipe open fails?
This is an excerpt from the latest version perlfaq8.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 3 Mar 2010 12:58
CGI html table generation
I've spent many years just bodging my html with the CGI module. But now I'm trying to do it properly and I'm happy with my progress so far. What I am having trouble with is specifying cell widths (and therefore the width of the entire column). I'm creating tables like this: print table({-border=>1}, Tr({-... 3 Mar 2010 10:39
ruby com-piler that worked
http://rubygems.org/gems/ocra I found this ruby to exe compiler and it seems to work. Enjoy. -Robin ... 3 Mar 2010 06:14
Automatic Web Form Submission
Hi Everyone, I am looking for some advice on where to start research for a problem I have which I would like to solve using perl. I have to do many travel request searches for flights and would like to automate it, I'd like to write a script to input to my favorite travel sites things like: Departure Point,... 3 Mar 2010 08:25
FAQ 8.14 How do I modify the shadow password file on a Unix system?
This is an excerpt from the latest version perlfaq8.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 3 Mar 2010 01:48
floating point issue?
I made a perl program as follows. ----------------- $AAA = 4.31; $AAA *= 100; printf ("%f\n", $AAA); printf ("%d\n", $AAA); ---------------- The output of this program is 431.000000 430 I don't know why the second output is 430 instead of 431. Can anyone help? Thanks Kevin ... 5 Mar 2010 21:48
floating point issue?
I made a perl program as follows. ----------------- $AAA = 4.31; $AAA *= 100; printf ("%f\n", $AAA); printf ("%d\n", $AAA); ---------------- The output of this program is 431.000000 430 I don't know why the second output is 431 instead of 431. Can anyone help? Thanks Kevin ... 2 Mar 2010 21:28
strange behavior
I've run into a strange problem. I have a program that is a few hundred lines long. I run it and it runs fine and gives me the correct output (at least when I check a few of the output calculations manually.) But here are some screwy things that disturb me: 1. If I comment out a module that I'm not even using, I ... 5 Mar 2010 10:31
flushing buffer for printing to the screen
I want to be certain that a print statement is immediately executed. Googling around led me to use "$| = 1". Is this correct? Here is an example of how I'm using it: my $test; $| = 1; $test = 3; print "test is $test\n"; Thanks. Eric ... 3 Mar 2010 05:08
First  |  Prev |  Next  |  Last
Pages: 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92