perl
Using FindBin in more than one module
Here is the scenario, I have two files: 1. dir/A.pm 2. dir/new_dir/a.t This is how A.pm looks like: package A;[详细]
2023-04-11 15:28 分类:问答How to add edit-layer as Plack-middleware?
I have an idea to add a edit-layer to website as a Plack middleware. Explanation: let\'s say, we create a website, based on some framework and templates and CSS (requesting it like /some/page). Now[详细]
2023-04-11 14:50 分类:问答How do you remove undefined keys from a hash?
Trying to use map and grep to figure this out, any idea whats wrong? I keep getting 开发者_如何学Pythona[详细]
2023-04-11 14:46 分类:问答Executing entire perl program from string in Perl
I have a program that is encrypted with Blowfish in a file and a second perl program that prompts for a passphrase tha开发者_运维百科t is used to decrypt it into a string, I would like to not have to[详细]
2023-04-11 12:30 分类:问答Handing Remote-User variable with Shibboleth Service Provider
Perl CGI web application is my Shibboleth Service Provider. The cgi protected by Shibb is causing the redirect to Shibboleth IDP.[详细]
2023-04-11 12:08 分类:问答Defining constants for a number of scripts and modules in perl
I am facing the followin开发者_开发百科g problem: I am working on a perl project consisting of a number of modules and scripts. The project must run on two different machines.[详细]
2023-04-11 10:23 分类:问答Tree::Simple::traverse() is not visiting root of tree - error or feature ?
if I try the following code #!/usr/bin/env perl use Tree::Simple; # Tree: #a #_________ | ________ #/|\\ #bcd[详细]
2023-04-11 10:11 分类:问答Regex to take urls
I have several web pages to parse, and there are links like <a href=\"/news/monde/0,,3204267-VU5WX0lEIDUy,00.html\" class=\"S48\">Jean-Paul II opéré \"avec succès\" (24/02/2005)</a>[详细]
2023-04-11 09:27 分类:问答can't call method "geometry" without a package or object reference
I\'m trying to centre a getSaveFile dialog on a selected(by xwininfo) window, I have the position, width and height of the selected window, but need help moving the getSaveFile dialog about (when it\'[详细]
2023-04-11 08:55 分类:问答DBIx::Class - add a read-only synthesized column (defined by SQL) to a result class?
Is it possible to add a \'synthesized\' column to a DBIx::Class result class? The value of the synthesized column would be defined by a SQL expression of the current row. For example, if a row had the[详细]
2023-04-11 07:03 分类:问答