Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Perl Best Practices for naming variables

by creamygoodness (Curate)
on Aug 07, 2005 at 00:36 UTC ( [id://481584]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # before Damian's book I'd have used EOREPLY
    my $reply_to_chester = <<'END_REPLY_TO_CHESTER';
    
  2. or download this
    sub do_stuff {
        my $self = shift;
    ...
        # Bear with me and assume I'll need $items again...
        for my $item (@$items) {
            # etc...
    
  3. or download this
    sub do_stuff {
        my $self = shift;
        alias my @items = @{ $self->{items} };
        for my $item (@items) {
            # etc...
    
  4. or download this
    END_REPLY_TO_CHESTER
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-18 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found