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.

Replies are listed 'Best First'.
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 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617902]
help
Chatterbox?
[LanX]: several people told me they like saigon. ..
[choroba]: well, beer is good here, surprisingly
[choroba]: also, I discovered several vegan/vegetarian restaurants, so I can avoid meat
[LanX]: ha ha ... happy Czech :)
[choroba]: been to the War Remnants Museum, too. Quite a brutal experience
[choroba]: but still, small-talk about smuggling guns and how Trump is great with US expats isn't my cup of tea
[LanX]: brutal beer?
[LanX]: met a Canadian yesterday, he suggested building a wall and let the US pay for it

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-02-26 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (371 votes). Check out past polls.