From: Frank Newland <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: substr and =~ as one liner Date sent: Tue, 27 Nov 2001 11:55:32 -0600
> How can I express the following two lines as a one liner? > ======================= > $left_trim = substr($_,85,13); > $left_trim =~ s/^\s+// ; ## Remove leading spaces > ======================= ( $left_trim = substr($_,85,13) ) =~ s/^\s+//; Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
