Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: multiple layers of referencing and dereferencing

by codeacrobat (Chaplain)
on Jun 23, 2009 at 06:12 UTC ( #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? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (2)
    As of 2021-09-23 00:50 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?