About 20,000,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. 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., …

  3. syntax - What are the differences between $, @, % in a Perl …

    Here the sigil changes to $ to denote that you are accessing a scalar, however the trailing [0] tells perl that it is accessing a scalar element of the array in _ or in other words, @_.

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

  5. Overloading constants in Perl 6 - Stack Overflow

    Feb 20, 2015 · Overloading constants in Perl 6 Asked 10 years, 5 months ago Modified 5 years, 4 months ago Viewed 308 times

  6. Perl: Assigning an array to a hash - Stack Overflow

    Perl: Assigning an array to a hash Asked 14 years, 5 months ago Modified 4 years, 9 months ago Viewed 58k times

  7. Newest 'perl' Questions - Stack Overflow

    When using the perl library Storable to store and retrieve XML::LibXML document objects, I get a segmentation fault. Specifically, once I use the LibXML routine findnodes.

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

  9. How can I pass optional parameters to a Perl function?

    Perl prototypes have their uses (mostly to supply implicit context coercion to arguments, as Perl's built-in functions do). They should not be used as a mechanism to check that function are …

  10. perl - check if a number is int or float - Stack Overflow

    In perl, I want to check if the given variable holds a floating point number of not. To check this I am using, my $Var = 0.02 # Floating point number if (int($Var ...