On Fri, Sep 23, 2005 at 07:22:01AM -0700, r huber wrote:

> Is the a formatted read in perl? I have fixed length
> records that need to be split up into separate
> fields/variables and there is no delimiter. I've
> checked my perl book and can not find anything other
> than doing a series of substr's.

The command you seem to be after is unpack.

  perldoc -f unpack
  perldoc perlpacktut

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to