Re: Frustrated newbie question

2003-12-06 Thread Rob Dixon
Stuart Clemons wrote: > > Help. I'm a frustrated newbie who wants to use Perl to make my life easier. > > The following simple task is only one small part of a program I'm trying to > put together to automate some things I currently do manually. > > I have a file whose format looks like this: > > n

Re: Frustrated newbie question

2003-12-06 Thread Fred Nastos
On December 5, 2003 12:53 pm, [EMAIL PROTECTED] wrote: > Help. I'm a frustrated newbie who wants to use Perl to make my life easier. > > The following simple task is only one small part of a program I'm trying to > put together to automate some things I currently do manually. > > I have a file whos

Re: Frustrated newbie question

2003-12-05 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > Help. I'm a frustrated newbie who wants to use Perl to make my life easier. > > The following simple task is only one small part of a program I'm trying to > put together to automate some things I currently do manually. > > I have a file whose format looks like this: > >

Re: Frustrated newbie question

2003-12-05 Thread drieux
On Dec 5, 2003, at 11:09 AM, [EMAIL PROTECTED] wrote: [..] You guys make it look so easy ! just think how weird you will be when your copy of Programming Perl 3rd Edition is the coffee stained collector's item right next to our copies of Programming Perl - the Pink Book - that was the first edition

re: Frustrated newbie question

2003-12-05 Thread stuart_clemons
Thanks to all with the quick responses and possible solutions for splitting my names list into one name per line. I've tried a couple of them and they work great. You guys make it look so easy ! Using an array with 'Split' seemed to be a key part of the solution. I guess I was sort of on th

RE: Frustrated newbie question

2003-12-05 Thread Roberts Mr Richard L
: Frustrated newbie question Stuart Clemons wrote: > > I have a file whose format looks like this: > > name1 name2 name3 > name4 name5 name6, etc. > > The names are separated by spaces. I need the names to be one name per > lin

Re: Frustrated newbie question

2003-12-05 Thread david
Stuart Clemons wrote: > > I have a file whose format looks like this: > > name1 name2 name3 > name4 name5 name6, etc. > > The names are separated by spaces. I need the names to be one name per > line, like this: > > name1 > name2 > name3, etc. try: [pand

RE: Frustrated newbie question

2003-12-05 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: > Help. I'm a frustrated newbie who wants to use Perl to make my life > easier. > > The following simple task is only one small part of a program I'm > trying to put together to automate some things I currently do > manually. > > I have a file whose format looks like th

Re: Frustrated newbie question

2003-12-05 Thread drieux
On Dec 5, 2003, at 9:53 AM, [EMAIL PROTECTED] wrote: [..] I'm trying to put together to automate some things I currently do manually. I have a file whose format looks like this: name1 name2 name3 name4 name5 name6, etc. The names are separated by spaces. I nee

Re: Frustrated newbie question

2003-12-05 Thread Wiggins d Anconia
> > Help. I'm a frustrated newbie who wants to use Perl to make my life easier. > > The following simple task is only one small part of a program I'm trying to > put together to automate some things I currently do manually. > > I have a file whose format looks like this: > > name1 name

RE: Frustrated newbie question

2003-12-05 Thread Kipp, James
> I have a file whose format looks like this: > > name1 name2 name3 > name4 name5 name6, etc. > > The names are separated by spaces. I need the names to be > one name per > line, like this: > > name1 > name2 > name3, etc. > Here is one way: while (<>) {

RE: Frustrated newbie question

2003-12-05 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > Help. I'm a frustrated newbie who wants to use Perl to make > my life easier. > > The following simple task is only one small part of a program > I'm trying to > put together to automate some things I currently do manually. > > I have a file whose format looks like this

RE: Frustrated newbie question

2003-12-05 Thread Chris Mortimore
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 05, 2003 11:54 AM To: [EMAIL PROTECTED] Subject: Frustrated newbie question Help. I'm a frustrated newbie who wants to use Perl to make my life easier. The following simple task is only one smal