Skip to main content

Questions tagged [perl]

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.

136 questions with no upvoted or accepted answers
4 votes
3 answers
1k views

How to pass bash variables (passwords) to IRSSI config file?

I'm using IRSSI and I wonder how can I pass my IRC channel's passwords to the IRSSI config file (~/.irssi/config) without writing them directly in the file. In Mutt I've an awk command that queries a ...
user avatar
3 votes
0 answers
43 views

How to rename a perlbrew installed version

I installed Perl 5.32 with the name perl-5.32.0 $ perlbrew list * perl-5.32.0 The installation was updated with perlbrew upgrade-perl and I now have 5.32.1 $ perl --version This is perl 5, version ...
Matteo's user avatar
  • 7,897
3 votes
0 answers
248 views

How do I model a Perl class with "::" in StarUML?

In StarUML, how can I model a Perl class which uses :: in its name? It doesn't allow :: in the class name, reporting: Element name cannot contain "::" Is there a way to work around this limitation?...
uml's user avatar
  • 31
2 votes
0 answers
400 views

Clear previous command output (not full screen)

Example This is on the terminal screen: user@host ~ % ls dir1 dir2 dir3 user@host ~ % whoami user user@host ~ % date Wed May 24 16:25:26 -03 2023 user@host ~ % [CURSOR IS HERE] I'm trying to ...
ranemirusG's user avatar
2 votes
0 answers
220 views

Python and Perl not recognized in cmd even after adding in environment

It was fine yesterday, but it suddenly stopped working today. Both my perl and python were not recognized in cmd. I read as much as i can online for the answers and follow the instruction. I have ...
niknur's user avatar
  • 21
2 votes
0 answers
218 views

How to debug mod_perl compilation errors during start and reload of Apache httpd 2.4?

I'm running Ubuntu 16.04 LTS with httpd 2.4 and mod_perl2 to host a PerlAuthenHandler for some web app. It has been 14.04 LTS before and was upgraded some weeks ago. This works in general but ...
Thorsten Schöning's user avatar
2 votes
0 answers
3k views

Xcode: create new custom templates and code snippets?

I'm trying to tame Xcode for writing things in Perl. Naturally, I'd like to use the "IDE features", not just the text editor. That includes Perl-specific templates, which brings me to the question: ...
badbishop's user avatar
  • 202
2 votes
1 answer
326 views

Clean up filenames using data from a text file

I need to clean up a bunch of folder file names. Possibly even the file titles as well. I was currently using this Perl script to do so but I ran into some problems. If the file name already has ...
Cole Mackenzie's user avatar
2 votes
3 answers
2k 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 ...
Tim Nelson's user avatar
2 votes
1 answer
738 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 ...
troytc's user avatar
  • 121
2 votes
0 answers
922 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 perl-Class-...
user avatar
2 votes
2 answers
703 views

Log-off Scripts in Windows 7

I have Public machines that I need to run log-off scripts, which are in Perl. I want the script to run for a Standard user. It seems that the UAC is blocking this from happening. So, I have turned the ...
chrsblck's user avatar
  • 191
1 vote
1 answer
94 views

Cygwin Perl autodie 'not located'

I have Cygwin installed (with its native Perl support). However, on running a make file supplied by a third-party, I get the following error: Can't locate autodie.pm in @INC (you may need to install ...
Mark Saunders's user avatar
1 vote
1 answer
57 views

perl extended regex pattern with (condition) behaves wrong, what I do false?

I use perl --version perl 5, version 36, subversion 0 (v5.36.0) built for i686-linux-gnu-thread-multi-64int (with 52 registered patches I have used following test lines with these results: perl -we '$...
Anton Wessel's user avatar
1 vote
1 answer
47 views

How do I substitute the entire line in a text file for a portion of text in the line?

For example, I would like to make: >sid|RSV210|ref|NC_001803.1| SM:RSV210 turn into >RSV210 I believe that I could use sed to do this by the following "s/>.*/>RSV210/" but I ...
Estefany Guzman's user avatar

15 30 50 per page
1
2 3 4 5
10