perl
Using sigtrap within a perl module, how do I get the trap received back in the object context?
Have the following in my m开发者_StackOverflowodule\'s BEGIN section: use sigtrap qw(handler shutdown normal-signals);[详细]
2023-04-11 06:07 分类:问答parsing xml file with xml::twig
I have the following a large xml file which have entities on the belowformat : could someone help how can i proccess it with xml::twig ?[详细]
2023-04-11 05:31 分类:问答how to add double quote to a string in Perl
my code looks following: $id = \"PROD121213123\"; I am passingthis to a function and adding this to it[详细]
2023-04-11 05:22 分类:问答PSGI application with Apache2 using Plack::Handler::Apache2 results in 'not found'
first time poster, long time lurker here. Im using a tiny PSGI application in plackup, but id like to switch to Apache2 for subdomains. I run the application with \'plackup /home/ath88/work/kolle/scr[详细]
2023-04-11 04:59 分类:问答AnyEvent::DBI and database reconnection
I\'m using AnyEvent::DBI in a singleton package, and when there is no activity in the database / queries etc after many hours, I get this error while trying to issue a query:[详细]
2023-04-11 04:56 分类:问答Perl extract matches from list
I\'m fairly new to perl but not to scripting languages. I have a file, and I\'m trying to extract just one portion of each line that matches a regex. For example, given the file:[详细]
2023-04-11 04:39 分类:问答Searching and replacing a line in linux?
How can I find and replace every instance of a {% extends \"a/b/c/d\" %} with another {% extends \"e/f/g/h\" %} in every file in a directory?Also, if anything comes after the statement on the same lin[详细]
2023-04-11 04:38 分类:问答Variable not seen as defined in foreach of a hash
my $crazy_hash = { \'One\' => 1, \'Two\' => 1, \'Three\' =>开发者_StackOverflow中文版 1, };[详细]
2023-04-11 04:35 分类:问答Remove wide characters, Perl
I am trying to send a String via a socket using a perl program. I am getting an error saying that the text contains a wide character, and the socket can\'t deal with that. Is there a way to either:[详细]
2023-04-11 03:51 分类:问答Compile in 32 bits mode in x86_64 architecture
Im running on a machine with x86_64 architecture, with 32-bits compiled Perl 5.8.4. When I trying to install XML::LibXML i get following debug message:[详细]
2023-04-11 03:46 分类:问答