perl-module
removing deplicate entries based on first column and keeping the latest entry, using Perl
i need some perl code for the following problem. thanks in advance for your efforts. my input is in a file in this format: \'name\'\'version number\'[详细]
2023-01-25 02:13 分类:问答CPAN: How to overcome "Please login with USER and PASS." "Passive mode refused." errors?
How do I overcome \"Please login with USER and PASS.\" \"Passive mode refused.\" errors? - when attempting a CPAN module install from within the cpan shell / cpan> prompt[详细]
2023-01-24 04:53 分类:问答Compiling a portable Perl and including a CPAN module
I am trying to compile a portable version of perl containing a CPAN module, specifically the YAML module. I intend to be able copy this portable version into my home directory on numerous Redhat Linux[详细]
2023-01-23 07:34 分类:问答When should I use `use`?
As long as I can remember, whenever I use a module I include ause line at the beginning of my code. Recently I was writing two Moose object modules that use each other. Look at this over-simplistic e[详细]
2023-01-22 02:01 分类:问答Calling a subroutine in OOP Perl
When looking through some code I took over, I came across this line: my @files = My::Module::DB::raw_info->search_like(customer_handle => $config->{client}, feed => $config->{site}, a[详细]
2023-01-22 01:11 分类:问答How can I convert a number to its English form in Perl?
I need a Perl script which takes numbers as input example 222 and it should outpu开发者_运维技巧t as two hundred twenty two.Use Lingua::EN::Numbers - turn \"407\" into \"four hundred and seven\", etc.[详细]
2023-01-21 19:02 分类:问答How can I install DBD::Pg if postgres is not installed?
I have a separate servers running with postgres and Nagios. I want to use \"psql_replication_check.pl\" with nagios to monitor the post开发者_如何转开发gres replication status. This check script requi[详细]
2023-01-21 03:13 分类:问答How can I parse user-agent strings in Perl?
I need to parse the user-agents in HTTP-headers from a text file so as to determine the browser, the version, the OS and possibly the device. so few examples of those lines are:[详细]
2023-01-18 21:00 分类:问答How do I read args passed to the constructor and args passed by `use Module` in Perl?
Currently I am making a new module and I was wondering how could I implement in my module 2 things. We often see the use like:[详细]
2023-01-18 01:47 分类:问答extract all links from a HTML page, exclude links from a specific table
I\'m pretty new to Perl/HTML. Here is what I\'m trying to do with WWW::Mechanize and HTML::TreeBuilder:[详细]
2023-01-16 12:47 分类:问答