http://www.perlmonks.org?node_id=617902


in reply to Any idea what this does

If the first character of @{$memoryfile}[0] or (||) @{$memoryfile}[1] is not a printable character then log a error message and returns -1 value.

Replies are listed 'Best First'.
Re^2: Any idea what this does
by ikegami (Patriarch) on May 29, 2007 at 02:58 UTC

    No. If *any* character.

    And what's with "(||)"?

      He's explaining that "||" means "or".
Re^2: Any idea what this does
by chromatic (Archbishop) on May 29, 2007 at 05:56 UTC

    Close... The caret character (^) is a negation operator inside a character class here. Outside the character class, it would indeed be an anchor to the start of the string.

Re^2: Any idea what this does
by sanPerl (Friar) on May 29, 2007 at 04:33 UTC
    Also I feel LogMess must be some subroutine somewhere in the code, which accepts two arguments.