First  |  Prev |  Next  |  Last
Pages: 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
How to ignore newline in Parse::RecDescent
Hi, I am new to Parse::RecDescent and I came across this problem of the parser not being able to ignore the newline character. Is there a way I can ask the parser to ignore all newlines? Regards John ### parser_test.pl ### eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' && eval 'exec perl -w -S... 29 Apr 2010 23:39
FAQ 7.26 How can I find out my current or calling package?
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 . --------... 27 Apr 2010 17:54
Can not intercept and disable MouseWheel on a canvas
I am having a problem disabling or replacing the MouseWheel default callback routine for a canvas. I have an application that uses a canvas; unfortunately, I also have a habit of turning the mouse wheel at random times. Most applications ignore this, but the Tk canvas widget scrolls its content when it receives ... 23 Apr 2010 20:47
Trying to add exception handling, getting errors after adding Error.pm to path
I'm trying to implement exception handling on operations calling SVN::Client. I noticed that Error.pm wasn't in my include path, so I looked for it (I'm on Cygwin), and I found it at the following locations: /usr/lib/perl5/5.10/CPANPLUS/Error.pm /usr/lib/perl5/vendor_perl/5.10/YAML/Error.pm So, I tried settin... 23 Apr 2010 20:48
FAQ 6.19 Why does using $&, $`, or $' slow my program down?
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 . --------... 23 Apr 2010 20:47
Get XML content using XML::Twig
Hello all, I'm trying to parse the XML using XML::Twig Module as my XML could be very large to handle using XML::Simple. Please help me out of how to print the values based on the following... <B>get the values of Sender, Receiver</B> <B>get the FileType. In this case possible values are InitTAP,FatalRAP,ReTxTA... 29 Apr 2010 16:55
FAQ 7.9 How do I create a module?
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 . --------... 23 Apr 2010 20:47
Extending a class that uses 'fields'
Hello, I want to subclass Net::SSH::Expect, by adding a couple of fields to it. Using "perldoc fields" as a guide, I did the following: ---------------- 8< ---------------- #!/usr/bin/perl { package essai; use base 'Net::SSH::Expect'; use fields qw/ new_field /; use Data::Dumper; ... 23 Apr 2010 20:47
FAQ 4.68 Why does passing a subroutine an undefined element in a hash create it?
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 . --------... 23 Apr 2010 20:47
How compare two dates or convert date to number
Perl neophyte here. I have a record date in the format mm/dd/yyyy and I want to compare it to another date in the same format. Is there a simple way to accomplish this task? All I want to do is say 'if date1 <= date0' do or don't do something. I've looked, but to no avail. Help please... Thank you in advance, ... 23 Apr 2010 20:47
First  |  Prev |  Next  |  Last
Pages: 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71