Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Ways of commenting subroutines

by willdooUK (Beadle)
on Mar 29, 2001 at 17:47 UTC ( [id://68094]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    public String getCustomerSSN()
    {
        // return the customer's SSN<
        return customerSSN;
    }
    
  2. or download this
    public String getCustomerID
    {
        // return the customer's SSN
        return customerID;
    }
    
  3. or download this
    if (ftpResponse.charAt(0) == '2')
        // ftp result in 200s = success
    
  4. or download this
    public boolean wasSuccessful(String ftpResponse)
    {
        return ftpResponse.charAt(0) == '2';
    }
    
  5. or download this
    if (wasSuccessful(ftpResonse))
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found