1. Sign in
  2. Sign up
  • Top
  • Tracker
  • Me
  • Inbox
  • Reaction
Perl

June 27, 2011, 10:16 a.m.
posted by nowind

Subroutines



Subroutines

    Item 23: Understand the difference between my and local.

    Item 24: Avoid using @_ directly—unless you have to.

    Item 25: Use wantarray to write subroutines returning lists.

    Item 26: Pass references instead of copies.

    Item 27: Use hashes to pass named parameters.

    Item 28: Use prototypes to get special argument parsing.

    Item 29: Use subroutines to create other subroutines.

  • Comment

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows 

  • RSS
  • Terms
  • Support
  • Contact

2007-2011, © Codeidol.Com