> IŽd like to know how i can read out data from a file with > for example, a newsletter, like >1.) first news >2.) 2nd news >3.)... >and print it out as html ? How do i only print sentence no.2 ? First, some questions about what you already know. Do you know: Basic perl? Basic HTML? How to use perl to read lines from a file? How to use perl modules? CPAN? perldoc? And about your data/task: Is it plain text? Is this a once-off to translate some already existing documents of which there will be no more, or one that will be repeatedly applied to some ongoing supply of 100's of "newsletters"? Is the newsletter's content created 100% manually, or by dropping text in to template / or programatically generated? -------------- Some quick examples of reading a text file, a line at a time: while (<>) { # read next line if $. == 2 { ... # if line number 2 then if /foo/ { ... # if line contains 'foo' if /^foo/ { # if line starts with 'foo' if eof { ... # if end of file print; # print line } There's a zillion ways to do the output bit. One way would be to use Text::Template, but it partly depends on what you know and what you're trying to do. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]