Use of freed value in iteration - how to workaround? "A. Farber" <alexander.farber(a)gmail.com> writes: From searching I know, that this is because I'm removing an element of an array whil iterating over it. But my question is, how could I workaround it? Instead of removing elements immediately, push them onto another array. Once you're done iterating ... 28 Feb 2010 14:27
FAQ 6.17 How do I efficiently match many regular expressions at once? 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 . --------... 28 Feb 2010 06:41
FAQ 8.8 How do I get the screen size? 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 . --------... 28 Feb 2010 00:14
FAQ 8.19 Why doesn't my sockets program work under System V (Solaris)? What does the error message "Protocol not supported" mean? 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 . --------... 27 Feb 2010 18:47
*main::exit = sub {die @_,"\n"} (was: eval exit/exec) On Feb 27, 7:33 pm, Marc Girod <marc.gi...(a)gmail.com> wrote: ClearCase::Wrapper::CODE(0x1ae0ab8)(/cygdrive/o/atcctest/ClearCase- Wrapper/blib/lib/ClearCase/Wrapper.pm:119): 119: next unless eval "exists \&$tglob"; Oh! Now I understood how '$DB::single = 1' works! So, I could 'put a... 27 Feb 2010 15:27
eval exit/exec On Feb 27, 6:56 pm, Marc Girod <marc.gi...(a)gmail.com> wrote: That is... without the debugger, the errors I get are: And under the debugger, in my AutoTrace output, the first error is: ClearCase::Wrapper::CODE(0x1ae0ab8)(/cygdrive/o/atcctest/ClearCase- Wrapper/blib/lib/ClearCase/Wrapper.pm:119): 119: ... 27 Feb 2010 19:53
FAQ 5.38 How do I select a random line from 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 . --------... 27 Feb 2010 12:06
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 . --------... 27 Feb 2010 06:38
FAQ 5.6 How do I make a temporary file name? 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 . --------... 27 Feb 2010 00:11
FAQ 4.76 How do I verify a credit card checksum? 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 . --------... 26 Feb 2010 13:02 |