Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: hiccoughing here documents

by Paladin (Vicar)
on Aug 11, 2017 at 22:00 UTC ( #1197279=note: print w/replies, xml ) Need Help??


in reply to hiccoughing here documents

Perhaps I'm not understanding the question, but what about something like:
my @tables = (200, 201); for my $tab (@tables) { print <<BLOCK; ip rule add fwmark 0x0${tab}/0xffff table ${tab} ip route add default via 172.27.${tab}.1 dev eth1.${tab} table ${tab} BLOCK }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (1)
As of 2023-09-24 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?