Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi guys , so here's my code to make you understand my problem
open (FILE,"rs.txt") ; @res=<FILE>; print "@res";
in "res.txt" file there's a line and in this line there's "1+2" for exp...so i'm trying to pirnt the result , i mean 3 not the same things agian....hope you understand and sorry for my bad english :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: converting from str to int
by davido (Cardinal) on Jul 01, 2014 at 20:05 UTC | |
Re: converting from str to int
by AppleFritter (Vicar) on Jul 01, 2014 at 17:29 UTC | |
Re: converting from str to int
by pvaldes (Chaplain) on Jul 01, 2014 at 17:32 UTC | |
Re: converting from str to int
by ww (Archbishop) on Jul 01, 2014 at 18:38 UTC | |
Re: converting from str to int
by AnomalousMonk (Archbishop) on Jul 01, 2014 at 22:03 UTC | |
Re: converting from str to int
by Laurent_R (Canon) on Jul 01, 2014 at 17:47 UTC | |
Re: converting from str to int
by choroba (Cardinal) on Jul 01, 2014 at 21:03 UTC | |
Re: converting from str to int
by DrHyde (Prior) on Jul 02, 2014 at 10:00 UTC | |
by Anonymous Monk on Jul 04, 2014 at 21:16 UTC | |
Re: converting from str to int
by perlfan (Parson) on Jul 02, 2014 at 12:19 UTC | |
by Anonymous Monk on Jul 06, 2014 at 07:42 UTC |