difficulty installing flex-2.5.33.tar.gz on linux (debian); 'make' fails

I'm trying to install 'flex'. I don't have a previous version of flex installed. I'm running a stripped down version of linux, so I don't have apt-get or yum. To install I untarred the flex...

How can I interpolate the result of a function in a Perl here doc?

I was wondering if it was possible to call a function inside a Perl here doc sub Function { } print<<HERE; Function() HERE

setting up multiple ip addresses on one apache server

I have a server setup running apache2. There are 2 public ip addresses pointing to the server each assigned a different domain name. I set up the virtual host to manage these domains. The first...

Which situations benefit from Perl's study?

I'm playing around with study, a Perl feature to examine a string to make subsequent regular expressions potentially much speedier: while( <> ) { study; $count++ if /PATTERN/; $count++...

ImageMagick won't show Ghostscipt as delegate

Was trying to get ImageMagick to talk to Ghostscript using MacPorts in OSX Lion but it wouldn't have it. Used to have it working fine under Snow Leopard but something went amiss during Migration...

Use of uninitialized value $form_data{"BuildAcct"}

*** SECOND UPDATE FOR SUNDAY*** Now at this point I have found some added success at displaying the desired sub The new snippet of code which enabled me to actually invoke a specific sub as I...

How can I use "here-doc" to print lines to a file?

Basically, this is the result of my programming and using Google for the last half an hour trying to achieve a simple thing: pick up user inputs from STDIN and write them into a structured XML...

Perl what does Taint means in general

I read a lot about Taint in Perl variables, mode etc, for example from the docs: $AUTOLOAD can now be tainted If you call a subroutine by a tainted name, and if it defers to an AUTOLOAD function,...

Failed AUTH: Must issue a STARTTLS command first

I cannot for the life of me figure out how to setup Bugzilla to send email using TLS. I got the Bugzilla site running, however, when I try to change my Bugzilla account email, the system fails...

Mailchimp v3.0 API, using Perl Curl

I'm trying to find a way to do a Curl request to MailChimps new API v3.0, that will subscribe a user to a given list. Here is what I have thus far: use warnings; use WWW::Curl::Easy; use JSON; my...

Install pip in docker

I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5...

Convert .sgm to .txt

I have some files in .sgm format and I have to evaluate them (apply a language model and obtain the perplexity of the text). The main problem is that I need these files in plain format, i.e. in...

Google BigQuery possible to do Case-Insensitive REGEXP_Match?

In Google BigQuery I wanted to check for 'confirm' or 'Confirm': REGEXP_CONTAINS(h.page.PagePath, r'Confirm') or REGEXP_CONTAINS(h.page.PagePath, r'confirm')) I am a Perl person and in Perl we...

Performance of Array.push vs Array.unshift

I was reading about runtime complexities of array operations and learned that... the ECMAScript specification does not mandate a specific runtime complexity, so it depends on the specific...

Is that a Perl 6 Hash or Block?

This is a bit of unexpected behavior that's likely to bite beginners. First, is this intended? Second, what other things does Perl 6 use to guess which object to create? Does it start off thinking...

Why does constraining a Perl 6 named parameter to a definite value make it a required value?

Consider these subroutines that all take a single named parameter. Named parameters should be optional and I haven't seen anything to say there are exceptions to that. With no type constraints...

error: version mismatch. This is Automake 1.15.1 but the definition ... comes from Automake 1.14.1

Yet another Autotools problem... I'm working on Fedora 27 and I am trying to build libidn and libidn2. I need configure; make; make install to actually work. The machines I need it to work on...

Returning values from exception handlers in Perl 6

I've been trying to write a Perl 6 expression which performs the following logic: Evaluate a subexpression and return its value, but if doing so causes an exception to be raised, catch the...

list return from Inline::Perl5 gives a count of items, not the list

Some simple Inline::Perl5 code returns a list, but it seems to return the count of the items rather than the actual list. Changing the number of items involved changes the count. use...

Adding Timescaledb extension in postgres db in window cannot found timescaledb.control error

adding timescaledb extension in postgresql db by following command in windows. Command: CREATE EXTENSION IF NOT EXISTS timescaledb; Error: could not open extension control file...

Wireshark Windows build fails to: Could NOT find POD (missing: POD2MAN_EXECUTABLE POD2HTML_EXECUTABLE)

I'm trying to build Wireshark 3.2.5 on Windows 10 for the first time according to official guide at: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin32.html So far I'm at chapter...

Cannot install plpython for postgres 12

First off , my question is posted after reading many other questions like this one https://stackoverflow.com/questions/60683776/install-pl-python-on-windows-for-postgresql-12 and various trials...

Cannot open .jpg, .png, or .tif files with ImageMagick, only .gif files work

I am using Ubuntu 18.04.1 LTS (Bionic Beaver) on Windows Subsystem for Linux. I installed ImageMagick according to these instructions, the only exception being ImageMagick version is currently...

My Perl can't find local::lib after upgrading from Perl 5.14 to 5.28

I have been running a purchased Perl script for over 15 years. I have been upgrading it fairly regularly, until the developer abandoned it about 5 years ago. I have some VERY basic knowledge,...

Install Python pip in ubuntu using ansible

I am trying to install Python-pip in ubuntu using ansible and then installing python package, But I am getting following error during Python package install task: failed: [X.X.X.X]...

worker thread does not yield to the main thread

I have a minimal reproducible case where a worker thread is not yielding to the main thread, or IOW, the scheduler is not triggering a context switch to the main thread, or IOOW, the task in the...

PostgreSQL 13 + Python 3.7.9 + plpython3u: 'psql: server closed the connection unexepectedly.' + 'The application has lost the database connection.'

I have added all of the details I could find, with all of the links, and there is no way to get plpython3u to work on Windows in PostgreSQL 13, it seems. Better do not read through this long...

How to run logon .bat script by GPO with domain users

I'm trying to set up logon script to my domain computers in Default Domain Politics. I use fusioninventory-agent.bat script that install FI agent and sent data do GLPI every time when user log...

pip install py-find-1st fails on ubuntu20 & centos with python3.9

This is my process. I start a new aws t2.micro ec2 on ubuntu20 and run this script sudo apt-get update sudo apt-get install gcc sudo apt-get install python3.9 sudo apt-get install...

Can Raku range operator on strings mimic Perl's behaviour?

In Perl, the expression "aa" .. "bb" creates a list with the strings: aa ab ac ad ae af ag ah ai aj ak al am an ao ap aq ar as at au av aw ax ay az ba bb In Raku, however, (at least with Rakudo...