Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Any idea what this does

by jesuashok (Curate)
on May 29, 2007 at 01:42 UTC ( #617902=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Any idea what this does
Select or Download Code
Re^2: Any idea what this does
by ikegami (Pope) 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 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.
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617902]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2015-07-06 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls