Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Re: Learning Exercise

by debiandude (Scribe)
on Jul 19, 2002 at 13:16 UTC ( [id://183216]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Learning Exercise
in thread Learning Exercise

>>2. || is equilivent to or? Yes also, && is and, ne is !=, not is ! and so on...

>>. Kind of like #2, does | just allow you to specify more than one option in an 'or' fashion? | is the regex is the aleternation operator. Its pretty cool. You should check it out, very powerful :-)

>> 4. What's the deal with subroutine cls?! Well you were using system("clear") or something like that which is not really portable. Those prints are the ansi escape sequence for clearing the screen and putting the cursor on the upper left corner.

>> 5. my $tmp = (); just sets $tmp to undef, right? Yes. I was orgianally going to do something with it, besides being just a scalar but I didn't have enough time. So I tured it back into a scalar and never changed the parens, they're unnecessary. As I said it was a quick hack.

Replies are listed 'Best First'.
Re: Re: Re: Re: Learning Exercise
by Foncé (Scribe) on Jul 19, 2002 at 13:24 UTC
    I think I understand now. I need to continue trying these things out so I'll really get them.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found