From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 10:07:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CD016A4CE for ; Wed, 21 Apr 2004 10:07:37 -0700 (PDT) Received: from mta8.adelphia.net (mta8.adelphia.net [68.168.78.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D50343D49 for ; Wed, 21 Apr 2004 10:07:37 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta13.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040421170341.ZSGF13425.mta13.adelphia.net@barbish> for ; Wed, 21 Apr 2004 13:03:41 -0400 From: "JJB" To: "freebsd-questions@FreeBSD. ORG" Date: Wed, 21 Apr 2004 13:03:40 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: perl coding ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 17:07:37 -0000 I have an perl scrip somebody else wrote. I am just learning perl by modifying this script. An temp field $dup-counter contains an counter that is suffixed with x as in 23x have no idea how big of an number the counter can grow to. The suffix is all ways one position but has different alpha values. How do I separate $dup-counter into two new fields? $dup-number and $dup-sufix Thanks for you help