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

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

    Nov 10, 2019 · 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.

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

    Mar 13, 2015 · @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 …

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

  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. operators - What does =~ mean in Perl? - Stack Overflow

    May 2, 2012 · Possible Duplicate: What does =~ do in Perl? In a Perl program I am examining (namly plutil.pl), I see a lot of =~ on the XML parser portion. For example, here is …

  7. 如何从零开始学习 Perl? - 知乎

    注:笔者主要使用Perl做软件测试方面开发 按照笔者自己的经历,从对Perl一无所知到可以上手干活,可以从小骆驼书—— Learning Perl (豆瓣) 开始。快速浏览加实践下书上代码,两天就可 …

  8. perl - Check whether a string contains a substring - Stack Overflow

    Jun 21, 2022 · How can I check whether a given string contains a certain substring, using Perl? More specifically, I want to see whether s1.domain.example is present in the given string …

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

  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 …

Refresh