The perl-module tag has no wiki summary.
0
votes
1answer
36 views
Perl not including custom modules
I recently had to move from a shared account into a VPS, ever since I moved into the VPS I cannot get some Perl scripts that were not written by me to work anymore.
The main script starts like this:
...
0
votes
1answer
51 views
Perl script skipping if conditions
Hi Im very new to perl and Im having an issue where part of my script is being skipped.
Im trying to validate a user. If the user enters admin and admin it displays a welcome screen, else it displays ...
3
votes
0answers
54 views
is there a perl module for accessing complex structure data with sql language?
I often save a lot of data into a hash var, or get data according to the conditions. it is not convenient, so i want a module with which accessing data with sql as a nosql. i found DBD::RAM. is there ...
-1
votes
2answers
51 views
Perl convert date timezone without datetime module
I have a date in the format: 05/26/2013 06:08:00
The timezone of above date is GMT -7
how can i change the above to GMT date and time and in format:
26 May 2013 13:08:00 GMT
Note: I cannot install ...
0
votes
1answer
44 views
XMLin not parsing XML properly
I have an XML as follows in $response_xml
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"><?xml version="1.0" ...
1
vote
0answers
18 views
How to use Perl HTML::TableExtract with rowspans and also spans within cells
I apologize for the length here, but I thought it made sense to include my small amount of progress in addition to a description of my problem!
I want to extract data from some html pages that have ...
1
vote
1answer
32 views
Nested Packages
Sorry for the base question, but how can I nest Packages/Modules in Perl? I am writing a Sudoku solver to become used to Perl and I would like to logical divide my code into pieces:
Piece 1: Utils
...
0
votes
2answers
55 views
perl optional command line argument
I am new to Perl and wish to know if the following logic works in Perl :-
I have to execute a command using Perl script with some arguments and I need to prepare that
arguments list, some of the ...
2
votes
2answers
77 views
Multilevel 'do' in Perl?
This question may look simple, but I am thinking on this over past some days, I couldn't find the answer.
I have multilevel scripting architecture (the code is shown below)
CallingScript.pl (Include ...
0
votes
0answers
23 views
How to open and grab a window over TopLevel window
I want to open a window inside a toplevel window and until that window is opened I should not be able to move back to any previously opened window. Here is my code:
$mw = MainWindow->new; # This ...
0
votes
1answer
16 views
Discovering the depth and count of tables on an HTML page with Perl
I have local copies of numerous downloaded web-pages. The pages almost certainly have only a few different types of table layouts, but before looking to extract data, I first want to print out the ...
0
votes
2answers
40 views
Perl module Image::EXIF causes error message
I like to understand why this perl module is always creating this error message:
In my script I do many things with the exif information of some pictures, that works fine.
Here my minimized script:
...
2
votes
2answers
111 views
Inline::C build failure
I am using active perl 5.14.2. Here I am trying to use a windows C library in my perl code using Inline::C
use strict;
use Inline C => DATA =>
CCFLAGS => '-std:C99 -Tx86-coff -Zi ...
4
votes
3answers
73 views
How to check today is Monday in Perl ?
How can I check if today is Monday in Perl?
What modules needs to be installed?
Can anyone help me with an example?
0
votes
1answer
31 views
Perl module to allow for 'make' options
I was wondering if there is some kind of Perl module/package that allows for simple make-like functionality.
For example, is there something that can wrap a function that receives an input and an ...