Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: multiple layers of referencing and dereferencing

by codeacrobat (Chaplain)
on Jun 23, 2009 at 06:12 UTC ( [id://773879]=note: print w/replies, xml ) Need Help??


in reply to multiple layers of referencing and dereferencing

Some advices to improve readability:
  • Improve your datastructure.
  • Use the arrow syntax also for assignments.
  • Name and factor out any reference used more than once $B0_1 Is not good enough.
  • Consider using push and pop over indexed array access.
  • Don't quote hash keys dog, cat, bird inside quotes. Use qq{foo"bar"} if necessary

    print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
  • Log In?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (4)
    As of 2024-04-18 01:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found