About 25,100,000 results
Open links in new tab
  1. 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?

  2. What is the meaning of @_ in Perl? - Stack Overflow

    Dec 30, 2010 · 128 perldoc perlvar is the first place to check for any special-named Perl variable info. Quoting: @_: Within a subroutine the array @_ contains the parameters passed to that …

  3. operators - What is the difference between "||" and "or" in Perl ...

    53 From Perl documentation: OR List operators On the right side of a list operator, it has very low precedence, such that it controls all comma-separated expressions found there.

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

  5. Perl flags -pe, -pi, -p, -w, -d, -i, -t? - Stack Overflow

    Jun 10, 2011 · 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 …

  6. regex - What is /^ and /i in Perl? - Stack Overflow

    The match operator is the syntax that tells the Perl interpreter: here comes a regex. In Perl, the match operator is normally delimited by '/' at start and end, but you can use delimiters (e.g., …

  7. What is the difference of using special variable $_ and @_ in Perl?

    Feb 1, 2012 · Please explain what exactly the difference of $_ and @_ is in Perl. When to use which, given by example code.

  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 can I read an entire file into a string?

    Jun 5, 2009 · In Perl, how can I read an entire file into a string? Asked 16 years, 5 months ago Modified 3 months ago Viewed 203k times

  10. How do I compare two strings in Perl? - Stack Overflow

    Jul 24, 2009 · In short: Perl doesn't have a data-type exclusively for text strings use == or !=, to compare two operands as numbers use eq or ne, to compare two operands as text There are …