in reply to Splittin the Date

Just use split(/\s+/, `date`);.

You can rewrite that to

@a = split for (`date`);
If you like that better. If you look at split, it tells you that it uses whitespace as its default delimiter.

Hopethis helps,

Jeroen
"We are not alone"(FZ)

Replies are listed 'Best First'.
Re: Re: Splittin the Date
by Tyke (Pilgrim) on Mar 01, 2001 at 20:18 UTC
    The guys that port this to Win32 without thinking are going to wonder why it hangs at `date`. On dos, date waits for input.