Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 imbibing at the Monastery: (7)
As of 2014-08-22 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls