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

Re: Defining Subroutines

by janx (Monk)
on Oct 24, 2002 at 06:58 UTC ( #207631=note: print w/replies, xml ) Need Help??


in reply to Defining Subroutines

Watch out for that comparison you do!
$a = $b; # assigns the value of $b to $a $a == $b; # compares the two numerically
Note that your code won't fail compiling (aside from the already answered sub issues ;-)) but it won't do what you expect it would.

janx

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-12-10 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?