Top "Perl" questions

Perl is a procedural, high-level, general-purpose, dynamic programming language, known for its native support of regular expressions and string parsing capabilities.

Can't locate Switch.pm

How do I solve this error? Can't locate Switch.pm in @INC (you may need to install the Switch module) (@…

perl perl-module android-source
How do I pass a hash to a function in Perl?

I have a function that takes a variable and an associative array, but I can't seem to get them to …

perl function parameter-passing declaration
Why are scripting languages (e.g. Perl, Python, Ruby) not suitable as shell languages?

What are the differences between shell languages like bash, zsh, fish and the scripting languages above that makes them more …

python ruby perl bash shell
Remove file extension and path from a string in Perl

I want to obtain a file name without its path (if it is part of the string) and also the …

regex perl file-extension filepath
How can I detect the operating system in Perl?

I have Perl on Mac, Windows and Ubuntu. How can I tell from within the script which one is which? …

perl cross-platform
Why use strict and warnings?

It seems to me that many of the questions in the Perl tag could be solved if people would use: …

perl
How do I flush a file in Perl?

I have Perl script which appends a new line to the existing file every 3 seconds. Also, there is a C++ …

perl file flush io-buffering
How can I repeat a string N times in Perl?

In Python, if I do this: print "4" * 4 I get > "4444" In Perl, I'd get > 16 Is there an easy way …

string perl operators repeat
How do I send POST data with LWP?

I want to make a program that communicates with http://www.md5crack.com/crackmd5.php. My goal is to …

perl post lwp
How can I download all emails with attachments from Gmail?

How do I connect to Gmail and determine which messages have attachments? I then want to download each attachment, printing …

java python perl gmail