interesting perl question how can I make a structure where you have a variable call sometjhing in a package for exmaple print $a -> $v prints the variable $v in a package called c.....the closest I could do was the following....thanks everyone, robin package a; $v = 1; package main; $a = bless \$z, "a"; print $a::v; ... 9 May 2010 15:24
Search pattern not terminated Is this really a search pattern, or do they need a better error message about the typo of $++m for ++$m? $ perl -we '$r=$++m' Search pattern not terminated at -e line 1. ... 9 May 2010 07:49
FAQ 5.21 How can I lock 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 . --------... 8 May 2010 18:53
FAQ 6.13 What does it mean that regexes are greedy? How can I get around it? 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 May 2010 06:50
FAQ 4.42 How can I tell whether a certain element is contained in a list or array? 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 . --------... 8 May 2010 00:26
FAQ 8.36 How do I fork a daemon process? 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 . --------... 7 May 2010 18:56
SOAP::WSDL complexType extension element and xsi:type wsdl2perl is a great tool, but I'm not very experienced with it. May be somebody can help. I want to invoke my service from perl, but faced troubles with Element types that are extensions to complexType. Trying to play smart and use sub-classing in my .wsdl description. arg0 parameter of placeOrder() has basicDoc... 7 May 2010 17:50
FAQ 5.22 Why can't I just open(FH, ">file.lock")? 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 . --------... 7 May 2010 12:14
how do i find the max value out of an array? Hi, i have a text file which is comma seperated and i have extracted few values from the text in an array for example, 30, 1, 4,5, 31, 4, 2, 3, 32, 2,3,0, 38 my goal is to find the max of 30, 31, 32, 38 (i, i+4, i + 8, i+ 12....so on) i have put a split statement and in a loop and captured these 4 elements i... 16 May 2010 22:20
FAQ 8.16 How can I sleep() or alarm() for under a second? 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 . --------... 7 May 2010 06:42 |