Perl is a powerful, high level programming language. Questions about Perl should be limited to the Perl development environment, running Perl, or using Perl to automate tasks on your computer.
0
votes
0answers
8 views
Task-Mechanistic-Firefox now running on port localhost:52074 - doable?
i tried to install Task-Mechanistic-Firefox-0.01.tar.gz
unfortunalty without generating a report for all the processes
but let me tell you - some investigations
during the tests sevral new brwoser ...
0
votes
0answers
7 views
controlling & handling dependencies in installing Mechanize::FireFox on Linux-box
as i try to install Mozrepl and Mechanize::FireFox on a OpenSuse-Linux-Box i run into issues. See some of them. note - this was a earlier try - with the version 0.58
But the issues are still the ...
0
votes
2answers
39 views
Regex for unix paths
What would be the correct perl regex for detecting only Unix paths?
./dir1/dir2/file.ext - invalid
./dir1/dir2/ - valid
./dir1/dir2 - valid
0
votes
1answer
13 views
bad Make-Test while running installation of a perl module
i run opensuse 12,3 - all is installed fresh
now i wanted to install mozepl and www mechanize firefox
this ended up in a bad Make-Test while running installation of a perl module
# '
...
0
votes
1answer
20 views
Guide me to run a perl cgi program in browser,i am using windows7 and installed strawberry perl
Please help me for this request, I am a beginner at CGI and Perl
I tried to install Perl, but I am getting the following error:
HTTP Error 404.3 - Not Found
The page you are requesting ...
0
votes
0answers
18 views
yum update not working as desired
Something happened to my system since the last guy touched it.
Please find the tail of my yum update command below.
yum --skip-broken does not work.
I've tried to reinstall some of the missing ...
0
votes
1answer
18 views
Apache “70007 timeout errors”
I'm sporadically getting Apache 70007 timeout errors from (I think) Perl CGI scripts. I thought the problem was my scripts were exceeding the Apache's TimeOut value, but I wrote a sleep script that ...
-2
votes
0answers
12 views
70007 The timeout specified has expired [closed]
I am sporadically getting Apache 70007 timeout errors from (I think Perl CGI scripts). I thought the problem was my scripts were exceeding the Apache's TimeOut value, but I wrote a sleep script that ...
0
votes
1answer
42 views
The outputs of ps and top do not match
I have a situation where I have a process, say script.pl (here it is), which seems to stick around in the output to ps auxw | grep script.pl, sometimes when load is heavy it sticks around for several ...
0
votes
1answer
19 views
File size changed after put through FTP
I'm trying to send a file to a FTP server using Perl. The program works almost well, but the file size changed (file size on remote host is different from localhost). After checking, i realize that: ...
0
votes
0answers
30 views
Windows 2003 (actually XP x64) can't read SSL signature if it's SHA-2 (SHA 256/384/512)
I have a Windows XP Professional x64 virtual machine to run some HLDS processes. I chose the x64 edition as I already have a license for it, and as it uses the Windows Server 2003 kernel it'll be more ...
0
votes
1answer
42 views
Perl or Sed to remove a web virus
I recently ran across a bit of code injected to all of the files on a web site and I need to use perl or sed to remove it across all the files.
I am having trouble coming up with the exact pattern ...
0
votes
1answer
71 views
How do I make my Perl scripts act like normal programs on Linux
Perl programs I've written earlier were simple text processing scripts, for executing them I use to use terminal. Now I am learning GUI programming(I want to make some games as a hobby), using Tcl/TK ...
0
votes
0answers
36 views
Perl script works fine on my computer, not on remote server [migrated]
I have a perl script which takes some fields from an input text file and transforms them to generate a more useful (for me) text file.
When I run it on my Mac (with a very small file made of a few ...
0
votes
1answer
16 views
Perl extensions not searched for in @INC?
I'm on Linux, with no root access, and have installed an rpm locally (in /home/me/local, rather than /usr). This is fine, except that the rpm (rxvt-unicode) requires some Perl modules, and the default ...
1
vote
2answers
78 views
Do I need a cloud server?
I have a certain setup on my local Linux machine and I wonder how can I convert it to a web service platform.
What I have is:
Command line Perl application which periodically downloads certain data ...
0
votes
1answer
70 views
Mass migration of EXIF GPS data (a.k.a. Escape from iPhoto)
I am trying to move my library of photos (over 12000) out of iPhoto for use in Adobe Lightroom and would like to include the GPS data I've added to the photos using iPhoto's in-app feature (This data ...
0
votes
1answer
16 views
make error in PHP_PERL
I am following the answer in this thread to make the perl module for php.
am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well
The short steps are:
...
3
votes
1answer
127 views
How to run a Perl script in a Unix environment from Windows?
A little background:
I am trying to interact with data I have saved in Perl files using a program I wrote in C using the Win32 API. The C program is in Windows and the Perl files are accessed ...
0
votes
1answer
50 views
Multi-threaded execution of simple perl/python script
Some years ago a friend created a 'benchmark' (Note: Not a benchmark) by which wouldwhich we measure one raw aspect of computing power. Namely how fast (or indeed slowly) the computer could count to ...
0
votes
1answer
20 views
Installing a CPAN module using a remote compiler
I need to install the XML::Parser module. Unfortunately, that package uses expat. Due to security concerns, I am not allowed to install the dev package of expat. making the CPAN Module fail to ...
0
votes
3answers
64 views
Match and remove first and second pattern within xml tags
How can I match and remove first and second pattern within xml tags using sed or awk?
Here is the example
<data>A78-1-1134-HI-1</data>
<data>T78-12-1346-AG-2</data>
...
0
votes
1answer
17 views
How do I specify gcc when compiling mod_perl
I want to test if I have the correct compiler when compiling mod_perl. http://blogs.perl.org/users/neilb/2012/11/problems-building-mod-perl-on-mountain-lion-macosx-108.html.
How do you specify gcc ...
0
votes
2answers
121 views
Why am I getting 'ppm: Command not found' on Mac OSX after installng ActiveState Perl?
I'm running Mac OS X 10.7.5.
When I type Perl -version I get:
This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level
(with 2 registered patches, see perl -V for ...
0
votes
1answer
40 views
What is the cause of this ( Timeout: nslookup)?
I have a server with OS RHEL 6 and Apache/2.2.22, sometime I found this error in Apache error log:
[error] [client XXXXX] Timeout: nslookup("type" => "MX", "host" =>
"hotmail.com") at ...
2
votes
0answers
91 views
Installing ffmpeg (namely fdk-aac) on cPanel server causes issues with perl threads
Basically, I'm trying to install FFMPEG on a cPanel server. I'm able to get everything installed and working (tested using ffmpeg -v) except for libfdk-aac. I can do the git clone and everything ...
0
votes
0answers
17 views
How to write a code for Gregorian calender with different types of inputs given by the user? [closed]
How to write code for parser which will accept any date/time conforming to the ISO 8601
standard and print a breakdown of the century, year, month, day, hour, minute,
second and millisecond specified ...
0
votes
1answer
56 views
Issue after removing perl.i386 package
I am using CentOS and I have tried to remove Perl from my machine to re-install it. For that, I have used 'Yum remove perl.i386' . But it results in the removal of other packages including Graphics. ...
0
votes
0answers
60 views
Error in Perl installation
I have removed the pre-installed Perl and am trying to re-install it. But when I open a file with vim, I get an error like:
error while loading shared libraries: libperl.so: cannot open shared ...
0
votes
1answer
25 views
perl search and replace
I have a file
love=/abc
day=abc
night=xyz
afternoon=xyzabc
I am reading each in value in a variable, now I need to replace the 2nd variable with a particular string. like
$1st = "/abc" ...
1
vote
1answer
29 views
Perl search and replace a directories
I have a script where I am reading a file in hash and using one of the values as a search $find = "pqr" and trying to replace with a directory structure $replace = "/abc/xyz/bcd"
/usr/bin/perl -0777 ...
0
votes
1answer
129 views
Unable to build Awstats report - permission denied on awstats.pl
I just installed a fresh copy of Awstats 7.1 on my server running CentOS 6.3 and nginx. When I try to run this command to generate the report:
/usr/local/awstats/tools/awstats_buildstaticpages.pl ...
1
vote
2answers
63 views
Are there any Linux distributions which have Perl 6 as the default/only Perl version?
The title pretty much says it all.
In the same way that Arch Linux has Python 3 as the built-in/main version of Python, are there any Linux/Unixish distros that have done the same with Perl 6? I ...
1
vote
3answers
115 views
matching start of the line in cygwin regexp
I apply sed 's/^ bug*/__/' to
ref bug
bug ref
and get
ref __
__ ref
The same is responded for perl, perl -ni -e 's/^ bug/__/; print'. Sample file can be downloaded ...
1
vote
1answer
147 views
How to remove perl script process taking up CPU
I've got a process running on my server (CentOS 5.2) that is taking up 99-100% of my CPU. The ps command reveals the name fakeproc as follows:
30571 ? R 3620:06 fakeproc
Running top ...
0
votes
0answers
79 views
Permission denied httpd webrequest to perl
Sorry for the somewhat confusing title, and my lacking English. Now we have that out of the way my question:
I have httpd - Apache/2.2.15 on a CentOs virtual machine. This is running Seccubus, with ...
1
vote
1answer
122 views
cpan fails with “Error code 130, while making 'pm_to_blib'”
I recently installed Perl on my Windows 7 machine.
Upon running cpan App::cpanminus, I got the following error:
D:\Perl>cpan App::cpanminus
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was ...
0
votes
0answers
25 views
mozrepl with Python or Ruby
installed MozRepl (to work with Perl) on my notebook - on openSUSE 12.2.
I have a number of websites where I have to get screenshots in thumbnails.
Usually I work with www::mechanize but images have ...
1
vote
1answer
62 views
Keeping a Perl script from automatically terminating in terminal
I'm trying to create a shortcut of sorts to a Perl script, by saving a terminal command which launches the script to a .command file. The script is interactive, and allows for the user to interface ...
3
votes
0answers
170 views
Using Torsocks on Mac OS X 10.8.2
I used Torsock and usewithtor fine when I had MAC OS X 10.6, and didn't use it for a while. I upgraded to Mountain Lion a few months ago, and I tried to use it but no luck on it.
Output is following:
...
2
votes
0answers
140 views
Error when installing cpanminus on Mac OS X
I am trying to install cpanminus through the terminal using the command given on the website:
sudo cpan App::cpanminus
However I receive the following error:
N01-0545---MB:CPAN-1.9800 sucadmin$ ...
0
votes
0answers
32 views
Find relation between multiple data sets for fraud detection [closed]
Can you recommend any open source software, to find relation between multiple data sets?
For e.g. To find if 2 or more people suspected of insider trading know each other, I would collect all their ...
0
votes
2answers
152 views
am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well
I need to run a Perl script because I need a module that Perl has that PHP does not.
This is my code for testing purposes in PHP
<?php
echo ("Hello World");
$perl = new Perl();
...
2
votes
0answers
73 views
Install perl module from rpm file
I have a perl issue and obviously I'm not a perl expert. I can not use CPAN.
I've installed File::Pid using a rpm, or I tried. I downloaded perl-File-Pid-1.01-3.el5.noarch.rpm (and the ...
2
votes
1answer
197 views
Change my terminal's character set in Ubuntu
I would like to process with perl some files in Greek in which the character encoding is Greek (ISO-8859-7) but my terminal doesn't support such an encoding. Can I add it somehow?
0
votes
2answers
62 views
For loop with conditions
I have a script that adds user on many server. Since I'm adding on many server(s) I am using for loop.
Below are the output when user is successfully added.
0,22529,User added.
If the user is not ...
0
votes
2answers
156 views
Handling MS office documents on Linux without root access
I have a linux hosting account with Godaddy (Centos 5.5), and I am developing an application to process users MS Office documents.
I have found solutions such as antiword, unoconv, catdoc, Apach ...
0
votes
0answers
84 views
Dependencies “perl(perl)” when installing perl-PDF-API2 [Linux - CentOS]
My Linux Platform: CentOS 5.8
Install Package: perl-PDF-API2
I downloaded the tpm package from the link below:
http://pkgs.org/centos-5-rhel-5/flexbox-i386/perl-PDF-API2-2.019-1.noarch.rpm/download/
...
0
votes
1answer
85 views
Identify text/ASCII files in Linux/Solaris
I have a little project to build a bash script that searches the OS (Linux/Solaris)
for the current IP address in files, and replaces them with another IP address.
The problem is that IP address ...
0
votes
0answers
91 views
How to reinstall default Perl on Mac osx?
I accidently deleted the default Perl library on Mac OSX Mountain Lion. I know it was a stupid mistake, but how do I fix it? Whenever I try to use Perl I get
dyld: Library not loaded: ...
