Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Snarky comments on the ddj perl quiz

by rvosa (Curate)
on Aug 23, 2007 at 14:32 UTC ( #634648=note: print w/ replies, xml ) Need Help??


in reply to Snarky comments on the ddj perl quiz

To add a newline to each entry (that does not already have it) as that entry is printed print "@array\n";. Answer: C.
Erm, no:
$ perl -e '@array=qw(a b c d);print "@array\n"' a b c d $


Comment on Re: Snarky comments on the ddj perl quiz
Download Code
Re^2: Snarky comments on the ddj perl quiz
by polettix (Vicar) on Aug 23, 2007 at 22:29 UTC
    That was probably the best imho: no bad wording, just a lazy attitude. But I confess that I was scared for a split second that one of them would work!

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://634648]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-06 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls