Tagged Questions

Perl is a high-level, general-purpose, interpreted, dynamic programming language. It was originally developed by Larry Wall as a general-purpose Unix scripting language to make report processing easier, over a period with support from open source community, it has evolved and matured to be used for ...

How can I Setup bugzilla alerts using gmail on Bugzilla 5.0?
The procedure described here worked nicely, but since 5.0 the SMTP::TLS on the mail_delivery_method won't list on the drop down even after ...

I have been using the Perlfect Search Script http://www.perlfect.com/freescripts/search/ for several years on my sites. For reasons unknown it stopped working properly a few months ago. When I run the ...

I have file with n lines. (Each line refers to a “question”, and
therefore they are labeled Q.1, Q.2, Q.3, ..., Q.n.)
Each line (question) has a “Marks” attribute,
which has the value 2, 3, 4, 5, or ...

Can anyone help how to compare two consecutive lines from a text file for the first character and if both the first characters are same ignore/delete the second line and print into new file only the ...

I apologize if this question is too basic, but I'm really very very new to perl. Now I want to write the following two lines of code in one line:
perl -e 'print crypt("my_password","\$6\$my_salt\$")'
...

I have a shell script that calls on a Perl script to do some file processing. The Perl scripts exits with either a zero or one value. I have the Unix set -e command at the beginning of my script to ...

I have four different files: file1, file2, file3, file4. Each file has 2 different columns separated by tab. I want to match first column of file1 (as reference) with the first column of second file, ...

I have a source text file containing text where some words are l e t t e r s p a c e d like the word "letterspaced" in this question (i.e., there is a space character between the letters of the word.
...

Hi friends here is some issue I want to write a script that restarts server which is in stopped status. Here I am using my MySQL server in future if it is in stopped status then it will be restarted ...

How can I manipulate field-based data from the commandline? For example
How can I print only lines whose Nth field is foo?
How can I print only lines whose Nth field isn't foo?
How can I print only ...

I was trying to install a perl module Future::Utils on my Ubuntu machine but didn't find the exact command. I tried this command but it didn't work:
sudo apt-get install libfuture-utils-perl
I have ...

I have a file like this saved as /var/ldt/ldt.conf :
LDT_HWADDR='00:00:00:00:00:00'
LDT_DISK='/dev/sda'
LDT_OS_ID='24'
LDT_VERBOSE=true
RUN_UPDATES=true
I want to source it in a way that in my perl ...

This problem is related to my attempt to import questions and their answers in a Excel file into .txt -file which Anki flashcard program handles as described here.
I cannot have more than 2 fields so ...

I'm attempting to install logitechmediaserver 7.8.0 on my OSMC (Raspbmc) Raspberry Pi. I primarily followed instructions from here, although some of the install did not work (some dependencies missing ...