Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
The stupid question is the question not asked
 
PerlMonks  

Re: Re: divide by '/'

by jynx (Priest)
on Apr 12, 2001 at 19:19 UTC ( [id://72155]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 12, 2001 at 20: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";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://72155]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.