fr:perl:perlother
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| fr:perl:perlother [2024/05/11 16:07] – créée adminw1k1 | fr:perl:perlother [2024/05/11 16:09] (Version actuelle) – [Autre] adminw1k1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== | + | ====== |
| < | < | ||
| - | Other type can also be ref or deref | + | D' |
| $coderef | $coderef | ||
| $globref | $globref | ||
| - | copy: | + | copie : |
| - | $aref2 = [@{$aref1}]; | + | $aref2 = [@{$aref1}]; |
| - | $href2 = {%{$href1}}; | + | $href2 = {%{$href1}}; |
| </ | </ | ||
| - | =====Autovivification===== | + | ===== Autovivification ===== |
| < | < | ||
| - | Make thing exists automatically...if you access them and can produce errors | + | Fait exister automatiquement les éléments...si vous y accédez et peut générer des erreurs |
| - | Can use: use warnings NONFATAL => ' | + | Peut utiliser |
| - | or use Hash::Util qw( lock_keys unlock_keys ); | + | ou utiliser |
| - | my $some_ref | + | mon $quelque_ref |
| - | lock_keys %$some_ref; | + | lock_keys %$quelque_ref; |
| </ | </ | ||
fr/perl/perlother.1715436456.txt.gz · Dernière modification : 2024/05/11 16:07 de adminw1k1