Gossamer Forum
Home : General : Perl Programming :

Re: [Andy] Stupid question!

Quote Reply
Re: [Andy] Stupid question! In reply to
Sorry I can't help but comment. A blank is one thing but it's like you have a black hole in the side of your brain Wink

my @words = split /\s+/, $var;

That what you want?

Or more accurate....

my @words = grep { /^\w+$/ } split /\s+/, $var;

Last edited by:

Paul: Sep 6, 2002, 8:46 AM
Subject Author Views Date
Thread Stupid question! Andy 3812 Sep 6, 2002, 8:41 AM
Thread Re: [Andy] Stupid question!
Paul 3669 Sep 6, 2002, 8:45 AM
Thread Re: [Paul] Stupid question!
Andy 3658 Sep 6, 2002, 8:53 AM
Post Re: [Andy] Stupid question!
Paul 3626 Sep 6, 2002, 8:53 AM