| |||||
| Bas de page | |
|---|---|
| Auteur | Sujet : [Perl] passer des parametres par reference |
Publicité | Posté le 27-02-2002 à 06:41:16 ![]() ![]() |
Aricoh gentil mais fo po pousser | Voici un exemple (un peu bête mais bon) :
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 |
[jfdsdjhfuetppo]--Message édité par alligator421--[/jfdsdjhfuetppo] |
Tentacle | [citation]il y a certainement bien quelque chose comme dans le c++
|
Aricoh gentil mais fo po pousser |
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
Aricoh gentil mais fo po pousser |
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 | Merci a tous les deux pour vos reponses constructives. |
Aricoh gentil mais fo po pousser | J'utilise pas tt à fait la même syntaxe que toi mais quand tu fais ça dans une fonction :
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 |
[jfdsdjhfuetppo]--Message édité par alligator421--[/jfdsdjhfuetppo] |
Publicité | Posté le 28-02-2002 à 13:40:33 ![]() ![]() |
Tentacle |
|
Aricoh gentil mais fo po pousser | $toto = shift(@pouet) signifie que $toto reçoit le 1er élément du tableau @pouet. Celui-ci perd son 1er élément, attention à ça
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
Aricoh gentil mais fo po pousser | Quand je dis my ($hash) = shift; --------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 | raaaaah [jfdsdjhfuetppo]--Message édité par alligator421--[/jfdsdjhfuetppo] |
Tentacle |
|
alligator421 |
|
Aricoh gentil mais fo po pousser |
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
Tentacle |
|
Aricoh gentil mais fo po pousser | [citation]
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
Tentacle |
|
alligator421 |
|
Aricoh gentil mais fo po pousser |
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
Aricoh gentil mais fo po pousser |
bon, j'ai encore dit une connerie, et après ???
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 |
|
Tentacle |
|
Aricoh gentil mais fo po pousser | tu vas t'y retrouver avec tout ce qu'on a dit dans l'topic ?
--------------- Samsung Galaxy S1 -> Samsung Galaxy S2 -> Samsung Note 2 -> Huawei Ascend Mate 7 -> ZTE Axon 7 -> OnePlus 6T -> Oppo Find X2 PRO -> Google Pixel 9 PRO XL |
alligator421 |
|
alligator421 |
|
Publicité | Posté le ![]() ![]() |
| Sujets relatifs | |
|---|---|
| [Perl]: [CGI]: récupérer des groupes de paramètres | Perl-Gtk et memoire |
| [HTML] Passer 1 tableau en parametre d'une page vers une autre ... | passer du langage c à pascal |
| [javascript] Passer le nom d'un formulaire en variable | [Java-RMI-Oracle] Passer un objet OracleDataSource |
| j en appelle a votre bon coeur pour un ptit cript perl ou autre | [MySQL et XML] comment passer d'une base XML à MySQL ? |
| [PERL] Faire du PERL avec Windows Xp | |
| Plus de sujets relatifs à : [Perl] passer des parametres par reference | |





