This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:perl_cheat_sheet [2026/11/03 03:23] 77.69.184.125 old revision restored (2026/08/06 10:28) |
notes:perl_cheat_sheet [2026/11/03 05:52] (current) 37.122.152.241 old revision restored (2026/08/06 11:23) |
||
|---|---|---|---|
| Line 72: | Line 72: | ||
| * When using a big arrow (a fat-comma) or when accessing a value, simple keys don't have to be quoted (barewords) e.g. <code perl> | * When using a big arrow (a fat-comma) or when accessing a value, simple keys don't have to be quoted (barewords) e.g. <code perl> | ||
| * '' | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * To iterate over hash : <code perl> | ||
| - | print "$key => $value\n"; | ||
| - | print "$key => $hash{$key}\n"; | ||
| - | * %ENV hash holds environment variables. | ||
| - | |||
| ===== Control Structures ===== | ===== Control Structures ===== | ||