First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Time::Local busted?
I have a script that tails a file and on a SIGTERM I want it to exit. Sounds simple enough. It traps the signal, executes an 'exit', and then hangs! The real odd thing is one of the modules I'm 'using' is Time::Local. If I comment it out the script exits on SIGTERM and if it leave it in it doesn't. The only... 24 Apr 2008 10:03
Help: Print lines
Hello, I'm a newbie in Perl. And I face a problem when I process the data from a file. My file is like is CT1 XY0002658-96 0000222541 CT2 XY0002688-55 0000254147 CT5 ZZ0004854-00 0000475568 ............ And I hope when some conditions match 'CT1', then can print its contents 'XY0002658-96 000022... 24 Apr 2008 09:15
FAQ 5.3 How do I count the number of lines in a file?
This is an excerpt from the latest version perlfaq5.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 . --------... 24 Apr 2008 08:26
FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?
This is an excerpt from the latest version perlfaq2.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 . --------... 24 Apr 2008 08:26
Creating a 'load simulator' by calling Perl Programs - or Forking?
Greetings, I would like to create a 'driver' (simulation) program that calls existing perl programs, waits for them to complete and provides some feedback. Ideally I would like to have the driver echo to the screen that the simulation is still running and perhaps provide some information. That may be too ambitio... 24 Apr 2008 04:15
DBIx::XML::DataLoader
I am trying to figure out how to use this package. It looks like it may do what I need, and help me write the code more quickly than would be the case if I started de novo. First, although I have been programming in a variety of languages for quite a while, i have managed to avoid having to parse XML until now. ... 24 Apr 2008 02:40
Using a file's modification date in the filename
I want to be able to rename a file and prepend the file's modification date at the front of the file. For example: with a file named testme.txt and a modification date of April 1, 2006, I want the renamed file to be named 20060401-testme.txt What I can do is get the modification date using ctime, but it I can't ... 24 Apr 2008 01:52
FAQ 1.8 Is Perl difficult to learn?
This is an excerpt from the latest version perlfaq1.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 . --------... 24 Apr 2008 01:52
Merging/Joining AoA
Hi Guys, I have a little complicated problem... I have two arrays @a = ( ['id', 'name', 'age'], ['1', 'Fred', '24'], ['2', 'Frank', '42'], ); @b = ( ['id', 'sex'], ['1', 'm' ], ['2', 'm'], ); I want to join these two AoA, based on id, so... 23 Apr 2008 22:42
FAQ 1.11 When shouldn't I program in Perl?
This is an excerpt from the latest version perlfaq1.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 . --------... 23 Apr 2008 20:20
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17