First  |  Prev |  Next  |  Last
Pages: 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
FAQ 7.27 How can I comment out a large block of perl code?
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 . --------... 31 Mar 2008 21:14
Returning a dataset with arrays
Hi! I am a newbie using Perl and I have a big problem , for me, and it is that I need to return a query result into a array but I cant do that. I did this code: sub getcodigodb() { local($table)= shift; local($field)= shift; my $code=shift; my $dbh = open_connection(); my $sql = "SELEC... 7 Apr 2008 09:21
FAQ 8.5 How do I read just one key without waiting for a return key?
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 . --------... 31 Mar 2008 20:01
Sharing a DBI::Mysql database connection with your children
I have a process I was thinking of making into a multithreaded daemon that deals with a MySQL database. The thought is that the daemon would open the database once, then listen for clients. As clients connected the daemon would fork off a copy of itself and handle the requests. This would make the process faste... 1 Apr 2008 20:40
Parse x.500 DN and change order displayed
I am trying to change this "cn=Bob Smith+serialNumber=CR013120080827,o=ICM,c=US" to this: "serialNumber=CR013120080827+cn=Bob Smith,o=ICM,c=US" There are about 2000 entries like this and I need to have them all displayed with serialNumber first, and cn last then the rest of the DN, the names and serialNum... 2 Apr 2008 12:17
printf: zero pad after the decimal a given amount
Why is there no way to tell printf to zero pad like the right column: 0.1 :0.100 0.05 :0.050 0.03 :0.030 0.025 :0.025 0.02 :0.020 0.015 :0.015 0.0125 :0.0125 0.01 :0.010 0.009 :0.009 0.00625:0.00625 0.005 :0.005 The challenge: Change only the "WHAT?" below to produce the right column above. ... 1 Apr 2008 22:52
ignore - testing
34 2 2As we boarded the flight from London to Inverness, it seemed perhaps that shooting for Blaine Tessier's new film, Mister Landlord, had already begun. A 6ft 2in, bristly chinned, barrel-chested "stewardess" announced, in a booming baritone, "Good Morning, My name is Sarah. Welcome aboard." As it transpir... 31 Mar 2008 20:01
FAQ 8.2 How come exec() doesn't return?
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 . --------... 31 Mar 2008 20:01
Windows paths in glob
OK, so there's a well-known difficulty with handling Windows-style paths in glob: it doesn't like backslashes, nor does it like spaces. One solution to that is to use Unix-style paths: glob('C:\Documents and Settings\*'); # Doesn't work glob('C:/Documents\ and\ Settings/*'); # Works Problem is, the rest of Pe... 31 Mar 2008 20:01
FAQ 8.4 How do I print something out in color?
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 . --------... 31 Mar 2008 19:20
First  |  Prev |  Next  |  Last
Pages: 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190