First  |  Prev |  Next  |  Last
Pages: 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
How to read a given number of lines?
I want to give a given number of lines. Current, I have to write the following code to read, for example, 3 lines. Is there a subroutine to read a given number of lines in an array? $line1=<IN>; $line2=<IN>; $line3=<IN>; Regards, Peng ... 11 Jun 2010 20:21
FAQ 8.3 How do I do fancy stuff with the keyboard/screen/mouse?
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 . --------... 8 Jun 2010 12:33
FAQ 6.11 How do I use a regular expression to strip C style comments from a file?
This is an excerpt from the latest version perlfaq6.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 . --------... 8 Jun 2010 06:55
locale and Unicode [Was: How to switch floating decimal...]
Quoth Martijn Lievaart <m(a)rtij.nl.invlalid>: On Mon, 07 Jun 2010 17:21:07 +0100, Ben Morrow wrote: Quoth Martijn Lievaart <m(a)rtij.nl.invlalid>: On Sat, 05 Jun 2010 21:33:20 +0100, Ben Morrow wrote: This is a bad plan. Locales (specifically, the 'locale' pragma) and Unicode don't p... 7 Jun 2010 15:27
How do I properly use the open office page break?
I'm trying to intake a bunch of text and format it for open office but I can't figure out how this works: http://search.cpan.org/~jmgdoc/OpenOffice-OODoc-2.124/OODoc/Document.pod#setPageBreak%28paragraph_[,_options]%29 I have my file defined as $oofile, my content defined as $content, and my style defined as $sty... 7 Jun 2010 12:59
FAQ 9.25 How do I fetch/put an FTP file?
This is an excerpt from the latest version perlfaq9.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 . --------... 7 Jun 2010 12:59
FAQ 4.24 How do I reverse a string?
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 . --------... 7 Jun 2010 06:20
FAQ 6.14 How do I process each word on each line?
This is an excerpt from the latest version perlfaq6.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 . --------... 7 Jun 2010 00:56
Module to print hash?
Whenever, I want to print a hash for inspection of its content. I could write the following while loop. But I feel this is a common task and probably should be factor out into a module. Could you please let me know if there is a well designed module that can print an arbitrarily complex hash? while (($key, $valu... 7 Jun 2010 12:59
How to get the class name from the reference to an object?
Suppose I new an object. Is there a way to get the class name from the reference to the object? ... 9 Jun 2010 18:41
First  |  Prev |  Next  |  Last
Pages: 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51