Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Improve readability of Perl code. Naming reference variables.

by hakonhagland (Scribe)
on Jan 21, 2017 at 08:45 UTC ( #1180071=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub func {
       my ( $str, $desktop_info, $files ) = @_; #sref, href, aref
    ...
      ...
    
    }
    
  2. or download this
    sub func {
       my ( $str->$, $desktop_info->%, $files->@ ) = @_; 
    ...
      ...
    
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180071]
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: (3)
As of 2023-09-26 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?