in reply to Re: divide by '/'
in thread divide by '/'


Did you mean:
print "@sorted\n";
For that last line?

jynx

Replies are listed 'Best First'.
Re: Re: Re: divide by '/'
by dws (Chancellor) on Apr 13, 2001 at 00:47 UTC
    Yup. Stringifying the array automatically uses $" ($LIST_SEPARATOR if you use English;) as a separator. It's a shortcut for saying   print join($", @sorted), "\n"; which, since $" defaults to ' ', is a also a shortcut for   print join(' ', @sorted), "\n";