Sorry for the offtopic,...just a quick question

I have a number a variables in a perl script, and these variables are
actually formated paragraphs of text built up by the perl script. 
However, I need to query each variable and save a pacticular line that
starts DN, and save that list of DNs for another use.

I am trying figure out how do comb through a $variable that has multiple
"\n" and each line has various number of characters, and white spaces. 
A for loop won't work, it keeps capturing individual words, I need to
capture whole lines.

thanks in advance :-)

--
robert



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to