Frédéric DEMIANS a écrit : >> My problem is with assigning to $_, which could have odd side-effects >> later on. I suggest >> > Thanks. Would you say as a rule that $_ must be avoided? I don't see > side-effects in small script as soon as $_ is used inside small blocs > of code. But.. I quite agree with that rule. It seems that it is in Perl Best Practises book to avoid such implicit assignation. Since when adding or debuging, you could then misuse $_ or reassign it. In the same area, another Best Practise is to use pretty understandable variable name : $isbn rather than $t But well a string is a string....
-- Henri-Damien LAURENT BibLibre SARL http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc tel : +33 4 67 65 75 50 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
