|
First
|
Prev |
Next
|
Last
Pages: 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607
FAQ 4.63 How do I reset an each() operation part-way through? This is an excerpt from the latest version perlfaq4.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 Feb 2007 18:53
How to boost performance of my crude script? DB wrote: Hi - I admit to being a total hack at perl, but I did get the below script to work. The problem is that is goes quite slowly. The code parses a comma delimited text file of approx 250,000 lines and generates another text file with modified format. For certain lines of the data, the code mus... 25 Feb 2007 14:12
Get xs type from xml node? I have an xml document and an xsd. After parsing the xml document I would like to be able to get the type defined in the schema for a given node (ie: xs:string, xs:boolean, etc.). What perl modules, if any, provide this? I would think that a validating parser would have this information when it parsed it but ... 24 Feb 2007 18:53
FAQ 4.58 How can I know how many entries are in a hash? This is an excerpt from the latest version perlfaq4.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 Feb 2007 18:53
Text::CSV and Mysql Dear Perl Programmers, Good morning. Am having a problem loading data from a CSV file into a test database. Below should be all of the information to duplicate my error. Please let me know what I am doing wrong as unsure as to how to remove the beginning [ and ] brackets. Thanks, and await for your tested resol... 24 Feb 2007 18:53
Help with search and replace Hi All, I am trying to replace a word in a line with a different word. Example: File1: THIS IS AN ERROR TEST THIS IS A TEST THIS IS NOT A TEST I need to go through this file and check for ERROR in any line and replace with FAIL. Please help me on this. Code: #!/usr/local/bin/perl $testFile =... 24 Feb 2007 18:53
here is the famous godwin script, donated to the usenet populous! #!/usr/bin/perl require 5; $VERSION = '1.0'; use File::Slurp; use warnings; use Getopt::Std; use List::Util ('shuffle'); use News::Article; use strict 'refs'; my(%option, $inputFilename, $outputFilename, @addBody, $code); my $ctr = 0; my(@dropGroups) = (); my(@followups) = (); # generate messages to en... 24 Feb 2007 18:53
Using Substr and Regular expressions. Hello, I am attempting to take a string similar to the following as input: response_93_johndoe_1171994965031.xml and break it up into the following output: 93johndoe.txt The format of the input will always be of the type "response_<somenumber>_<somename>_<longstringofnumbers>.xml" I would like this t... 7 Mar 2007 20:31
FAQ 4.72 How do I keep persistent data across program calls? This is an excerpt from the latest version perlfaq4.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 Feb 2007 18:53 |