Global web icon
stackoverflow.com
https://stackoverflow.com/questions/10019049/what-…
operators - What does =~ do in Perl? - Stack Overflow
51 I guess the tag is a variable, and it is checking for 9eaf - but does this exist in Perl? What is the "=~" sign doing here and what are the "/" characters before and after 9eaf doing?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/12275408/whats…
What's the use of <> in Perl? - Stack Overflow
What's the use of <> in Perl. How to use it ? If we simply write <>; and while (<>) what is that the program doing in both cases?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/4093895/how-do…
How does double arrow (=>) operator work in Perl? - Stack Overflow
The => operator in perl is basically the same as comma. The only difference is that if there's an unquoted word on the left, it's treated like a quoted word. So you could have written Martin => 28 which would be the same as 'Martin', 28. You can make a hash from any even-length list, which is all you're doing in your example. Your Readonly example is taking advantage of Perl's flexibility with ...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/6302025/perl-f…
Perl flags -pe, -pi, -p, -w, -d, -i, -t? - Stack Overflow
Below are the flags that I encounter most often, and I don't have a clue what they mean: perl -pe perl -pi perl -p perl -w perl -d perl -i perl -t I will be very grateful if you tell me what each of those mean and some use cases for them, or at least tell me a way of finding out their meaning.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/361752/how-can…
How can I parse command-line arguments in a Perl program?
I'm working on a Perl script. How can I parse command line parameters given to it? Example: script.pl "string1" "string2"
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/3094916/what-d…
terminology - What does " ~~ " mean in Perl? - Stack Overflow
5 It is the smartmatch operator. In general, when you want information about operators in Perl, see perldoc perlop
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/22836/how-do-i…
How do I perform a Perl substitution on a string while keeping the ...
In Perl, what is a good way to perform a replacement on a string using a regular expression and store the value in a different variable, without changing the original? I usually just copy the string to a new variable then bind it to the s/// regex that does the replacement on the new string, but I was wondering if there is a better way to do this?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/178539/how-do-…
How do you round a floating point number in Perl?
Output of perldoc -q round Does Perl have a round () function? What about ceil () and floor ()? Trig functions? Remember that int() merely truncates toward 0. For rounding to a certain number of digits, sprintf() or printf() is usually the easiest route.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/890686/should-…
Should I use \\d or [0-9] to match digits in a Perl regex?
Per perldoc perluniintro, Perl does not support using digits other than [0-9] as numbers, so I would definitely use [0-9] if the following are both true: You want to use the result as a number (such as performing mathematical operations on it or storing it somewhere that only accepts proper numbers (e.g. an INT column in a database)).
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/28131528/what-…
What does exactly perl -pi -e do? - Stack Overflow
7 I would like to know what is the equivalent code that Perl runs when executed with the options perl -pi -e? On some SO question I can read this: