Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Reprieve

February 7, 2000

Which is more difficult, the abstract concepts behind Perl structures-within-structures or the syntaxes needed to represent them? Both can be a chore to get under your belt. The good news is that abstract concepts are, as they say, like riding a bike -- you don't forget them once they're locked in. But unless you code lists and hashes in Perl with some frequency, it may be more challenging to remember the syntax, especially with regards to nesting parentheses and square and curly brackets and the usage and placement of the $ (scalar), @ (list), and % (hash) prefixes.

Hopefully, the examples in this article can serve as syntax refreshers down the road, when you're stuck in the middle of a complex program and wondering "how do I add a key to a hash within a list?", just before you jump out the window.

Resources

The Perl You Need to Know: Lists

The Perl You Need to Know: Hashes

Perl Data Structures Cookbook

Manipulating Lists of Lists in Perl

A Hash of Hashes
The Perl You Need to Know


Up to => Home / Authoring / Languages / Perl / PerlfortheWeb




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers