Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.lang.perl Subject: Re: Interpretation de valeurs et formule Date: Sat, 18 Mar 2023 10:24:24 -0000 (UTC) Organization: Posted through news.alphanet.ch Message-ID: References: <64159051$0$3182$426a74cc@news.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 18 Mar 2023 10:24:24 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="25077"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-23-amd64 (x86_64)) Cancel-Lock: sha256:nVThdEOjC/q71/qnuVjYS1r+UOW2h1/45FtHLC5lD3o= sha256:P28jkd6X6hLmEwGjUcQU3gi531xUDORPwKZGY/xCQps= Bytes: 1519 Lines: 12 kurtz le pirate wrote: > Perl peut-il calculer 1.25*sin(12.0) ? > Un module ? Une syntaxe particulière ? perldoc -f eval Mais attention, c'est trop générique. Valider la formule avant de laisser eval exécuter n'importe quel code! -- Attention: limitez le nombre de lignes de citation à l'essentiel, sinon je ne verrai pas votre réponse. Et si vous écrivez souvent des bobards, je ne vous lirai plus et je recommanderai (NoCeM) de ne plus vous lire.