Skip to main content

Questions tagged [perl]

Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports.

2 votes
0 answers
77 views

zoxide is a replacement for cd that allows fuzzy matching against commonly accessed directories (e.g., ...
404 Name Not Found's user avatar
6 votes
1 answer
111 views

The following function searches for disks whose partitions all have an attribute that match a filter when listed with lsblk. Comments are in TomDoc format. ...
mikeLundquist's user avatar
4 votes
1 answer
104 views

The following function filters and formats /etc/fstab for future use. Comments are in TomDoc format. ...
mikeLundquist's user avatar
5 votes
1 answer
539 views

I often find myself working with files I get from other users that mostly work on Windows machines (I, myself, am on a macOS) and they tend to name their files in all sorts of (weird & difficult ...
baduker's user avatar
  • 1,378
6 votes
2 answers
783 views

My work has an isolated network that developers write applications to run inside of. These developers often write Python code. This Python code often requires modules from the Python Package Index (...
Erin S.'s user avatar
  • 63
5 votes
1 answer
190 views

This is an ongoing project that has undergone a major update to speed up list processing. Here is the homepage for anyone interested. It processes lists defined in ...
T145's user avatar
  • 3,159
5 votes
0 answers
210 views

I have this Perl module project. My implementation of the Dijkstra's algorithm follows: ...
coderodde's user avatar
  • 32.3k
5 votes
1 answer
108 views

This is my very first data structure written in Perl for a d-ary heap: ...
coderodde's user avatar
  • 32.3k
4 votes
2 answers
169 views

I have this program for tagging directories and switching between the folders via tags. The front end is written in Bash (version 4.4.23) and the back end in Perl (5.26.1). Critique request Since this ...
coderodde's user avatar
  • 32.3k
7 votes
1 answer
800 views

I am using the following one-liner to remove duplicate non-empty lines without sorting: perl -ne 'if ( /^\s*$/ ) { print } else { print if ! $x{$_}++}' Empty (...
Ahmad Ismail's user avatar
5 votes
1 answer
501 views

Description This script takes any domain input from STDIN and converts unicode domains into punycode. Features Any domains that throw an error get ignored. When fed any ASCII domains, they just pass ...
T145's user avatar
  • 3,159
3 votes
2 answers
206 views

I am trying to make a DDoS code, and here's what I have so far. I am trying to make it more efficient and powerful, just for testing purposes. I'm new, and I was wondering if I could do that. Is ...
zAndrewi's user avatar
8 votes
1 answer
380 views

I have written a script which does parsing to the input file and take out some values from them with respect to the node and print the data accordingly. Below is my script, and it works as expected: <...
vkk05's user avatar
  • 183
9 votes
1 answer
347 views

I wanted to make a script that would parse a main file (with int main()) look in its #include "..." local headers, and ...
milanHrabos's user avatar
12 votes
4 answers
3k views

I wrote a simple transpiler (that may be a bit of a stretch) in perl to cut down on some boiler plate code. I'm very new to perl, this being maybe my third ever project in it. My main question would ...
Shipof123's user avatar
  • 353

15 30 50 per page
1
2 3 4 5
16