About 16,800,000 results
Open links in new tab
  1. How do you round a floating point number in Perl?

    In 5.000 to 5.003 perls, trigonometry was done in the Math::Complex module. With 5.004, the Math::Trig module (part of the standard Perl distribution) implements the trigonometric …

  2. What's the use of <> in Perl? - Stack Overflow

    Sep 5, 2012 · @pst, <> is not a file handle, "null" or otherwise. It's an operator. Specifically, the readline operator. There's a reference to it as the "angle operator" in perlvar, although there …

  3. operators - What does =~ do in Perl? - Stack Overflow

    14 The '=~' operator is a binary binding operator that indicates the following operation will search or modify the scalar on the left. The default (unspecified) operator is 'm' for match. The …

  4. 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 stri...

  5. 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"

  6. Perl - Multiple condition if statement without duplicating code ...

    This is a Perl program, run using a terminal (Windows Command Line). I am trying to create an &quot;if this and this is true, or this and this is true&quot; if statement using the same block of …

  7. Multiline search replace with Perl - Stack Overflow

    Pulling the short answer from the comments, for anyone looking for a quick one-liner, and the reason Perl is ignoring their RegEx options from the command line. perl -0pe …

  8. 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

  9. In Perl, how do I change, delete, or insert a line in a file, or append ...

    I want to make changes to the contents of a file by modifying, deleting or inserting lines or appending to the beginning of the file. How can I do that in Perl? This is a question from the …

  10. What does the -> arrow do in Perl? - Stack Overflow

    7 Perl arrow operator has one other use: Class−>method invokes subroutine method in package Class though it's completely different than your code sample. Only including it for …