I would like read bit inside square bracket and also want the square bracket. The tricky part is class4. sample1[1] is not a bit. Bit only at the end ...
I would like read bit inside square bracket and also want the square bracket. The tricky part is class4. sample1[1] is not a bit. Bit only at the end ...
I want to examine 1 or more characters that constitute a keyword. So if the the keyword is "show", then s, sh, sho, or show all qualify but all other ...
I am trying to debug a Perl script that is giving me the error Experimental keys on scalar is now forbidden This seems to be an issue my system havi ...
I would like to copy one folder with subfolders but without the files. With dircopy from package File::Copy::Recursive the whole structure with the fi ...
Like from title I'm trying to write a script that inverts the colors of a bunch of PDF, by using Perl and PDF::API2. I'm not very familiar with perl, ...
For years, I am using a code that contains the following condition I always expect there an ARRAY or SCALAR, but recently I passed substr() into th ...
I have a code that looks like this Also, the perl command works when I used that outside the subroutine or in the main function. But when I created ...
I would like to normalize the variable from ie. 00000000.1, to 0.1 using Perl Is there any other solution to normalize floats lower than 1 by remov ...
I have imagemagick installed with brew as well as opencl-headers. Trying to install perl's Image::Magick module running on Perl 5.36, I get the follow ...
I want to compare an array of string with another array of strings; if it matches, print matched. Example: Then I need to compare @var with the @a ...
Firstly, I have a hash: $hWriteHash{'Identifier'}{'number'} that contains = 1#2#12#A24#48 Then I split this by "#" and then put it in the @arr_of_ten ...
I have a xlsx that im converting into a perl hash Name Type Symbol Colour JOHN SUV ...
I'm using Perl to highlight errors through my browser as I scan through pages of text. At this point, I want to ensure the text Seq is preceded by a m ...
I'm trying to write a short script in Perl to go through a an array of strings provided by the user, check in a hash table to see if there are vowels ...
I was using Mac OS 12 and Perlbrew with Perl 5.36. When I install GD using either CPAN or cpanm I get the following error: The above is the conten ...
I have a file that I need to read into a list so I can use it in Template Toolkit. I can do that easy with array and I am bit struggling with list. Is ...
A simple simulation of the problem: Can't use string ("3") as an ARRAY ref while "strict refs" in use ...
I have created a script to get some information from various external sources, the results should then be in json format. There is a lot of data and I ...
This works: echo "aaa\n\n\nbbb" | perl -pe "s/\\n/z/gm" aaazzzbbbz This doesn't match anything: echo "aaa\n\n\nbbb" | perl -pe "s/\\n\\n/z/gm" a ...
Using Perl to spit out HTML text, I'd like to highlight in yellow an asterisk and leading/trailing letter if there's no space in between. Otherwise, i ...