First  |  Prev |  Next  |  Last
Pages: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
File::Slurp/IO::String/wantarray interaction bug
Consider the following demo script: # first line # second line use File::Slurp 'slurp'; use IO::String; { my $string = slurp( $0 ); my $io_string = IO::String->new( $string ); printf ">>>%s<<<\n", scalar $io_string->READLINE; printf ">>>%s<<<\n", scalar $io_string->READLINE; } { my $io... 15 Jun 2010 13:08
FAQ 4.69 How can I make the Perl equivalent of a C structure/C++ class/hash or array of hashes or arrays?
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 . --------... 11 Jun 2010 18:07
FAQ 8.1 How do I find out which operating system I'm running under?
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 . --------... 11 Jun 2010 12:32
binmode for readling the whole file?
To read a whole file into a string. The following webpage uses binmode. http://www.perlmonks.org/?node_id=1952 But the following code from perlvar doesn't. I tried both on linux. They are identically. But if I want the raw data in the file, I should always use binmode to be safe across all OS, right? ... 12 Jun 2010 12:38
FAQ 4.72 How do I determine whether a scalar is a number/whole/integer/float?
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 . --------... 11 Jun 2010 07:01
FAQ 7.23 How do I create a switch or case statement?
This is an excerpt from the latest version perlfaq7.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 . --------... 11 Jun 2010 00:32
access to files in multiple combinations of folders?
Hello I would like website users to be able to have access to the files in any combination of folders. Say there are 20 folders, each with different files in them. User A needs access to files in folders 1, 2 and 3, user B access to files in folders 7, 10, 15 and 20 and so on. Now I know I can have a .htacc... 10 Jul 2010 16:00
FAQ 6.12 Can I use Perl regular expressions to match balanced text?
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 . --------... 10 Jun 2010 19:01
FAQ 8.40 How do I avoid zombies 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 . --------... 10 Jun 2010 12:14
How to get "last action" from SVN::Client?
I've used TortoiseSVN to get all the history entries for a branch. Each entry has a "last action", indicating "added", "modified", or "deleted". I'd like to have a Perl script using SVN::Client (or any other appropriate module) generate this output instead. I've used the "log" method of SVN::Client, and I've read... 10 Jun 2010 17:54
First  |  Prev |  Next  |  Last
Pages: 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49