6
votes
1answer
53 views

Where can I find the cpanfile format definition?

We consider to use Minilla or Dist::Milla for our perl development. Declaring dependencies is done via cpanfile. I expected to find an exact definintion of what and how can be declared. But perldoc ...
-1
votes
1answer
21 views

Unable to install perl modules

I am trying to install a perl module on a machine which doesn't have internet access. I am trying with PPM in order to install the perl modules, and I have followed all steps which are mentioned in ...
0
votes
2answers
36 views

generate cryptographically-secure random number/string in perl

I need to select random characters from a set of characters say 0..9,a-z,A-z etc. For this I need to generate random integer number between 0-n ( n is the number of different characters) using Perl ...
-1
votes
0answers
13 views

install WIn32::NetPacket on Windows7

can anybody explain me how to install Perl module Win32::NetPacket on Windows7? I have downloaded it from this site: http://search.cpan.org/~jlmorel/Win32-NetPacket-0.03/lib/Win32/NetPacket.pm and ...
-1
votes
2answers
52 views

MODULE iNSTALLATION

i am trying to use local:lib as i don’t have rights on the system and i have download local library and run following perl Makefile.PL --bootstrap make test && make install echo 'eval ...
1
vote
1answer
39 views

Perl hash store and retrieve Byte order is not compatible in windows to linux server?

storefile.pl use Data::Dumper; use Storable; my %hashsample; $hashsample{'id1'}="name1"; $hashsample{'id2'}="name2"; $hashsample{'id3'}="name3"; store(\%hashsample, ...
-2
votes
2answers
35 views

I want to send email through perl, what kind of setup is required for it?

I've tried using these different modules given by Perl for sending email: Email::MIME Email::Sender Email::Simple I cannot figure out whats wrong. Is there any pre-setup required for these ...
-1
votes
1answer
34 views

perl script crashing while calling win32 dll

I have a win32 dll built using _cdecl calling convention which exported one function as : extern __declspec(dllexport) char* myfunc(char* param1, char* param2, char* param3, int param4, int param5) ...
0
votes
2answers
21 views

Perl Mechanize throwing connection error while using proxy

I am trying to download pdf files present in a website using perl MECHANIZE module. It worked fine when i am running the program without any proxy connection. But i am getting the below error when i ...
0
votes
0answers
43 views

Perl GetOpt::Long and options starting with +?

I am using Getopt::Long to parse the command line arguments: $result = Getopt::Long::GetOptions( 'version|V' => sub { $common->markVersion }, ...
-2
votes
3answers
53 views

Sort Multiple line according to fields [closed]

I have a record here with multiple lines, what I what to do is sort them according to type and the 6digits number in the line HEADER1. Here is the record: HEADER1|TYPE1|123456|JOHN SMITH ...
1
vote
2answers
38 views

how to remove the special characters which is getting appended while reading sql file from perl

I'm trying to execute queries from sql file using perl, but when I tried, I see some special char is getting appended in between or at the end of the query. I'm not sure how to resolve this. my $dbh ...
1
vote
1answer
35 views

Needing to send a JSON request in perl

I am having trouble making this work I keep getting a 400 bad request response. Any help is greatly appreciated as this is my first attempt at both coding perl and using JSON. I had to remove some of ...
0
votes
0answers
40 views

Is multiple initialization of perl engine (C/C++) forbidden?

I'm wondering if multiple initialization of perl engine in the same process is safe. By initialization I mean such combination: PERL_SYS_INIT3(&argc,&argv,&env); my_perl = perl_alloc(); ...
3
votes
1answer
51 views

Import single subroutine from perl program

Is there a way to import/export a single subroutine from a Perl script. I have been asked to split test cases into positive and negative tests, and I don't want to copy entire subroutines. But if I ...

1 2 3 4 5 41
15 30 50 per page