perl-module
How to use a module in a different file
I am trying to use a module located in the same folder (cgi-bin) in another file I have something like this[详细]
2023-02-20 19:04 分类:问答Can't locate MIME/Types.pm in @INC ... at /usr/local/share/perl/5.10.1/Dancer/MIME.pm line 7
I\'m very new to programming so I apologise if I\'ve missed something obvious. I\'m following the directions at https://github.com/keeth/Net-OAuth/blob/master/README and got the following error:[详细]
2023-02-16 09:21 分类:问答Perl, how to determine if a variable value is a number?
Is there a unique method to determine if a variable value is a nu开发者_Go百科mber, Since the values could be in scientific notation as well (for example, 5.814e-10)?The core module Scalar::Util expo[详细]
2023-02-16 01:14 分类:问答Need help with extending my Perl module
I am trying to extend my company specific BaseClass (Acme::BaseClass) but whenever I: package Manager;[详细]
2023-02-15 10:25 分类:问答Is there anywhere I can find information on the relative popularity of Perl modules? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-15 05:08 分类:问答OOP design suggestion
I have set of files that needs to either emailed or FTPed(read from config). Before doing either of these I need to so some common operation on the files, like changing filenames, sanity check, so on.[详细]
2023-02-14 08:57 分类:问答Define the method in the constructor of class in perl
I am reading code snippets like below: sub new { my $pkg= shift; my $args = shift; my @keys = keys %$args;[详细]
2023-02-14 02:44 分类:问答What is the simplest way to make modules warnings fatal?
By means of \"mastering perl\" I\'ve overwritten the \"encode\"-function of the \"Encode\"-module. Is there a shorter way to make the encode-utf8-warnings fatal?[详细]
2023-02-14 02:42 分类:问答Perl packages: how to import classes into the 'use'r's namespace?
I\'m working on a package that defines exceptions (using Exception::Class::Nested) for its \'parent\' package.I don\'t want the parent package to have to use the really long names, though, and I don\'[详细]
2023-02-13 07:45 分类:问答perl error: no 'new' method in 'Statistics::Descriptive"
I installed the \"Statistics::Descriptive\" module using cpan then test the example: 开发者_开发百科[详细]
2023-02-12 14:01 分类:问答