Raoul Ripmeester schreef:
> How can I make the split to work with one or multiple space.
What you aim for, is already the default behaviour of split.
perldoc -f split
"If PATTERN is also omitted, splits on whitespace (after
skipping any leading whitespace). [...]
As a special case, specifyin
Ryan,
Yes thank you that works and did the trick.
Kind regards,
Raoul.
On Tue, 2006-01-10 at 16:48 -0500, Ryan Frantz wrote:
>
> > -Original Message-
> > From: Raoul Ripmeester [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, January 10, 2006 4:48 PM
> > To: beginners@perl.org
> > Subject
On Tue, Jan 10, 2006 at 10:47:50PM +0100 or thereabouts, Raoul Ripmeester wrote:
> Hello all,
>
> I am a newbe so please bare with me :
>
> I am trying to split lines of a file into variables so I can do some
> sorting and other stuff with this. Now my script is working but the
> split is giving
> -Original Message-
> From: Raoul Ripmeester [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 10, 2006 4:48 PM
> To: beginners@perl.org
> Subject: Splitting file
>
> Hello all,
Hello,
>
> I am a newbe so please bare with me :
>
> I am trying to split lines of a file into variable