Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Ways of commenting subroutines

by willdooUK (Beadle)
on Mar 29, 2001 at 17:47 UTC ( #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
Node Status?
node history
Node Type: note [id://68094]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-11-01 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls