Thread LogFile auslesen !
(9 answers)
Opened by Gast at 2007-05-08 15:46
[quote=PerlProfi,08.05.2007, 17:49]
Code: (dl
)
split(/ /, $data); Code: (dl
)
1 use strict; $ split / / = [ '08.06.2007', '09.10.55,712', '', '', '', 'de.xxx.yyy.zzz ' ]; $ split /\s+/ = [ '08.06.2007', '09.10.55,712', 'de.xxx.yyy.zzz' ]; Ich würde da schon eher /\s+/ bevorzugen.\n\n <!--EDIT|opi|1178652102--> What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |