\On Dec 16, 2003, at 1:39 PM, Hemond, Steve wrote:
Hi again,
Thanks for you help with my data structure problem, a hash of hashes
problem did the job :-)
I would like to know how to align text with the print command.
I have four scalar variables to print but I want them to follow their
header's
On Dec 18, 2003, at 12:03 AM, Bill Jastram wrote:
James:
I'm happy to help, but keep your replies on the list so we can all
learn/help.
Can printf set the value in spaces of tab (\t)? I need to do three
column
output with perl for mailing labels.
You bet:
>perl -e 'printf "%20s %20s %20s\n", "
On Dec 19, 2003, at 8:29 AM, Bill Jastram wrote:
James:
A coupe of things.
#1. Pardon my ignorance, but I'm not sure how to use the list where I
found the reply button to e-mail you directly. I could not find a way
to
add to the already existing 'thread'. Your help would be appreciated.
The lis
rl List
Subject: Re: Align Text
On Dec 19, 2003, at 8:29 AM, Bill Jastram wrote:
> James:
>
> A coupe of things.
>
> #1. Pardon my ignorance, but I'm not sure how to use the list where I
> found the reply button to e-mail you directly. I could not find a way
> to
> add
of slick stuff with it, like centering.
>
>-Tom Kinzer
>
>-Original Message-
>From: James Edward Gray II [mailto:[EMAIL PROTECTED]
>Sent: Friday, December 19, 2003 9:16 AM
>To: Bill Jastram
>Cc: Perl List
>Subject: Re: Align Text
>
>
>On Dec 19, 2003
do lots of slick stuff with it, like centering.
> >
> >-Tom Kinzer
> >
> >-Original Message-
> >From: James Edward Gray II [mailto:[EMAIL PROTECTED]
> >Sent: Friday, December 19, 2003 9:16 AM
> >To: Bill Jastram
> >Cc: Perl List
> >Subject: Re
On Dec 19, 2003, at 12:04 PM, Bill Jastram wrote:
We're getting closer. But lets say the first name of the first field
in the first row is 'Bill'. And the first name of the first field in
the second row is 'Lanette'. This command will not compensate for the
difference in the length of the two f
say wha? show me, please.
-Original Message-
From: Bill Jastram [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 10:04 AM
To: Tom Kinzer
Cc: James Edward Gray II; Perl List
Subject: RE: Align Text
We're getting closer. But lets say the first name of the first field i
Bill Jastram wrote:
> We're getting closer. But lets say the first name of the first
> field in the first row is 'Bill'. And the first name of the
> first field in the second row is 'Lanette'. This command will
> not compensate for the difference in the length of the two
> first names. So, the ali
I have use the FORMAT function in perl. Its pretty nice.
perldoc -f format.
Hope that helps
perlknucklehead
On Fri, 2003-12-19 at 14:20, Rob Dixon wrote:
Bill Jastram wrote:
> We're getting closer. But lets say the first name of the first
> field in the first row is 'Bill'. And t
Bill Jastram wrote:
> We're getting closer. But lets say the first name of the first field in the first
> row is 'Bill'. And the first name of the first field in the second row is 'Lanette'.
> This command will not compensate for the difference in the length of the two first
> names. So, the al
James:
Thanks for the sample and I agree it does work.
How can I create an array of just the first names for a file?
This is what I have so far:
__
open (A, "testing.txt");
@A = ;
foreach ($n = 0; $n<10; $n++)
{
#Split each record into its fie
On Dec 21, 2003, at 10:47 PM, Bill Jastram wrote:
James:
Thanks for the sample and I agree it does work.
How can I create an array of just the first names for a file?
This is what I have so far:
Let's take a look at what you have first.
You're missing two very important lines right here:
use
Wow! That's a lot to take in, but consider it, and I'll get back
to you with the results of my considerations.
Thanks much.
Bill J.
__
On Mon, 22 Dec 2003, James Edward Gray II wrote:
> On Dec 21, 2003, at 10:47 PM, Bill Jastram wrote:
>
> > Jam
After taking a look at your last suggested script I have a short
question:
At what point does this script read in information from the
source file 'testing.txt'?
Is it during the 'while (<>)' statement? If so what would the syntax be?
Thanks again for your help.
Bill J.
__
On Dec 23, 2003, at 12:17 AM, Bill Jastram wrote:
After taking a look at your last suggested script I have a short
question:
At what point does this script read in information from the
source file 'testing.txt'?
Is it during the 'while (<>)' statement? If so what would the syntax
be?
Yes, you've
Yes, this helps tremendously. Actually, your suggestions helped me make,
what for me is, a quantum leap in the use of Perl.
I am stuck, however, on the loop you suggested to output the processed
@col arrays. I understand how you loaded them. And that, apparently, they
are ready to be output. Bu
On Dec 23, 2003, at 11:29 PM, Bill Jastram wrote:
Yes, this helps tremendously. Actually, your suggestions helped me
make,
what for me is, a quantum leap in the use of Perl.
Good news. Always happy to help.
I am stuck, however, on the loop you suggested to output the processed
@col arrays. I un
On Dec 29, 2003, at 11:31 AM, Bill Jastram wrote:
Bingo! James. That takes care of label issue.
Good news. Glad I could help
I was even able to make it three columns instead of three. And change
the
space between columns.
Oh no, I've created a monster!
You've obviously been at this for a whi
Bingo! James. That takes care of label issue.
I was even able to make it three columns instead of three. And change the
space between columns. You've obviously been at this for a while and use
the tightest code concepts I've seen.
By the way, how would you 'search' the incoming file to restric
Thanks, that's just what I was trying to figure out, only I'd gone about
it with the m// command to little or no avail. Your idea is of course much
better.
I'll leave you alone for awhile. You given me plenty to think about.
Much appreciated!
Bill J.
___
21 matches
Mail list logo