| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
A fast 4 hour introduction to perl | 5.0 (all versions), 4.0 (all versions) | Beginner / Ashley Harris | 39751 since 7/10/2002 4:11:33 AM |
By 25 Users 20 Excellent Ratings
|
| |
Ever wanted to build your own web applications? But you have absolutely no idea where to begin? This tutorial will get a beginner started in perl in under 4 hours, starting with the installation of perl. |
| |
| |
| |
 |
Access a dynamic variable while a similarly named lexical is in scope | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 7835 since 7/29/2000 10:54:00 PM |
By 2 Users
|
| |
How can I access a dynamic variable while a similarly named lexical is in scope?
You can do this via symbolic references, provided you haven't set use strict "refs". So instead of $var, use ${'var'}.
|
| |
| |
| |
 |
Bypassing prototypes | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 7972 since 7/29/2000 10:56:19 PM |
By 2 Users
|
| |
What's the difference between calling a function as &foo and foo()? |
| |
| |
| |
 |
Catch accesses to undefined variables/ functions/ methods | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 7041 since 7/29/2000 10:57:51 PM |
By 1 Users
|
| |
How can I catch accesses to undefined variables/ functions/ methods? Here's how... |
| |
| |
| |
 |
CGI environmental variables | 5.0 (all versions), Active Perl specific, 4.0 (all versions), 3.0 (all versions) | Beginner / Alexander Moore | 7740 since 6/17/2005 7:43:47 PM | Unrated
|
| |
Learn about the well known Perl environmental variables, which are used to store data taken from the user, the host, and the script itself, things like IP addresses and HTML headers. |
| |
| |
| |
 |
Clear a package | 5.0 (all versions), 4.0 (all versions) | Intermediate / Found on the World Wide Web | 12893 since 7/29/2000 10:59:50 PM |
By 1 Users
|
| |
How do I clear a package?
Use this code, provided by Mark-Jason Dominus:
|
| |
| |
| |
 |
Closure | 5.0 (all versions), 4.0 (all versions) | Advanced / Found on the World Wide Web | 13100 since 7/29/2000 10:46:18 PM |
By 2 Users
|
| |
What's a closure? Closure is a computer science term with a precise but hard-to-explain meaning. Closures are implemented in Perl as anonymous subroutines with lasting references to lexical variables outside their own scopes. These lexicals magically refe ...(description truncated) |
| |
| |
| |
 |
comment out a large block of perl code | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 15216 since 7/29/2000 10:59:10 PM |
By 2 Users
|
| |
How can I comment out a large block of perl code? Use embedded POD to discard it:
|
| |
| |
| |
 |
Create a switch or case statement | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 26434 since 7/29/2000 10:57:07 PM |
By 2 Users
|
| |
How do I create a switch or case statement? |
| |
| |
| |
 |
Declare/create a structure | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 7100 since 7/29/2000 10:42:37 PM |
By 2 Users
|
| |
How do I declare/create a structure? |
| |