On Feb 5, 6:09 pm, [email protected] (John W. Krahn) wrote: > stuforman wrote: > > i want to use perl to end each line with a '~'. i would really > > appreciate any syntax that would help me do this... > > $line =~ s/$/~/; > > John > -- > Those people who think they know everything are a great > annoyance to those of us who do. -- Isaac Asimov
John, $line =~ s/$/~/; worked!!! thank you! Stu -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
