| | |
Description | Compatibility | Level/ Author | Views/ Date Submitted | User Rating |
| |
| |
 |
Prevent Variable Suicide | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 2047 since 7/29/2000 10:47:12 PM |
By 1 Users
|
| |
What is variable suicide and how can I prevent it?
Variable suicide is when you (temporarily or permanently) lose the value of a variable. It is caused by scoping through my() and local() interacting with either closures or aliased foreach() iterator vari ...(description truncated) |
| |
| |
| |
 |
Skipping Return Values | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 1991 since 7/29/2000 10:40:30 PM |
By 1 Users
|
| |
How do I skip some return values? |
| |
| |
| |
 |
Static Variables | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 3903 since 7/29/2000 10:48:56 PM |
By 1 Users
|
| |
As with most things in Perl, TMTOWTDI. What is a ``static variable'' in other languages could be either a function-private variable (visible only within a single function, retaining its value between calls to that function), or a file-private variable (vi ...(description truncated) |
| |
Please support the site by visiting our
sponsor:
|
| |
| |
 |
Temporarily block warnings | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 2305 since 7/29/2000 10:41:08 PM |
By 1 Users
|
| |
How do I temporarily block warnings? |
| |
| |
| |
 |
Why doesn't ";" work right? | 5.0 (all versions), 4.0 (all versions) | Beginner / Found on the World Wide Web | 2346 since 7/29/2000 10:55:13 PM |
By 1 Users
|
| |
my() and local() give list context to the right hand side of =. The < FH> read operation, like so many of Perl's functions and operators, can tell which context it was called in and behaves appropriately. In general, the scalar() function can help. Thi ...(description truncated) |
| |