Perl format string
- From: kejoseph@xxxxxxxxxxx
- Date: 28 Jun 2005 12:35:00 -0700
I want to use Perl to format a CSV text file so that I can easily
convert it to pdf. The CSV text file has 10 fields each of variable
length. I want Perl to format it so that the field length is
controlled. Anything over the field length should be truncated.
I know of various perl methods, substr, printf to achieve the above,
but am sending this e-mail to find out whether anyone has any other
elegant way of performing this task.
Kevin.
.
- Follow-Ups:
- Re: Perl format string
- From: George
- Re: Perl format string
- From: A. Sinan Unur
- Re: Perl format string
- From: lynn
- Re: Perl format string
- Prev by Date: Re: What is an "anonymous temporary file?" (question about PerlFAQ5)
- Next by Date: Re: Perl format string
- Previous by thread: What is an "anonymous temporary file?" (question about PerlFAQ5)
- Next by thread: Re: Perl format string
- Index(es):
Relevant Pages
|
|