From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 10:02:08 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 C655A16A4CF for ; Wed, 21 Apr 2004 10:02:08 -0700 (PDT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BFC043D3F for ; Wed, 21 Apr 2004 10:02:08 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta10.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040421170207.BUAZ8065.mta10.adelphia.net@barbish> for ; Wed, 21 Apr 2004 13:02:07 -0400 From: "JJB" To: "freebsd-questions@FreeBSD. ORG" Date: Wed, 21 Apr 2004 13:02:06 -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:02:08 -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