About 17,300,000 results
Open links in new tab
  1. operators - What does =~ do in Perl? - Stack Overflow

    man perlop "perlop - Perl operators and precedence" (at least in UNIX-like) answers this question: "Binary "=~" binds a scalar expression to a pattern match." – U. Windl Commented Apr 1, …

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

    Dec 30, 2010 · 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. How does double arrow (=>) operator work in Perl?

    Feb 2, 2016 · 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. The only difference is …

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

    Mar 13, 2015 · So, if the shell is handing you a bunch of file names, and you'd like to go through each one's data in turn, perl's <> operator gives you a nice way of doing that...it puts the next …

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

    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 …

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

    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.

  7. What does exactly perl -pi -e do? - Stack Overflow

    Jan 25, 2015 · You can inspect the code actually used by Perl with the core module B::Deparse. This compiler backend module is activated with the option -MO=Deparse.

  8. operators - What does =~ mean in Perl? - Stack Overflow

    May 2, 2012 · =~ is the Perl binding operator. It's generally used to apply a regular expression to a string; for instance, to test if a string matches a pattern: It's generally used to apply a regular …

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

    Jun 10, 2011 · However, when I try to google for what each flag means, I mainly get results to generic Perl sites and no specific information regarding the flags or their use is found there. …

  10. Perl: Use s/ (replace) and return new string - Stack Overflow

    In Perl, the operator s/ is used to replace parts of a string. Now s/ will alter its parameter (the string) in place. I would however like to replace parts of a string befor printing it, as in

Refresh