On Mon, 27 Dec 2004 11:02:20 -0500, you wrote:

>The only stupid question is the one you don't ask. :)
>
>Try something like the following (assuming you have the contents of the line
>in a variable):
>
>if ($line=~/^(.*?)-/)
>{
>       $beg_of_line = $1;
>       #do your other stuff with it...
>}
>
>Elizabeth Lawrence
>[EMAIL PROTECTED]
>

That did it.  Thanks!

Mike-

--
If you can keep your head while those around you are losing theirs...
You may have a great career as a network administrator ahead!
--
Please note - Due to the intense volume of spam, we have installed 
site-wide spam filters at catherders.com.  If email from you bounces,
try non-HTML, non-encoded, non-attachments,
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to