Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 cooling their heels in the Monastery: (15)
As of 2015-07-02 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls