Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: IP addresses?

by cristian (Hermit)
on Aug 18, 2005 at 14:59 UTC ( #484805=note: print w/replies, xml ) Need Help??


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 @_;'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-02-21 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (94 votes). Check out past polls.

    Notices?