in reply to IP addresses?

Simply Example 1: without "for" my @ips=( 74.117.115.116, 32.97.110.111, 116.104.101.114, 32.80.101.114, 108.32.104.97, 99.107.101.114, 44.32.32.10, ); print @ips; Example 2: whithout @ips print ( 74.117.115.116, 32.97.110.111, 116.104.101.114, 32.80.101.114, 108.32.104.97, 99.107.101.114, 44.32.32.10, ); This is the end. Just another Perl hacker,

Replies are listed 'Best First'.
Re^2: IP addresses?
by phroggy (Monk) on Aug 18, 2005 at 17:26 UTC
    Ahh, good call - I hadn't thought of removing "for". As for removing @ips, I thought leaving it in would add just a tiny bit of misdirection, making the reader think of IP addresses....

    perl -e '($,,@_)=("er",",\n","l Hack"," P","Just anoth"); print reverse @_;'