Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: "switch$ia" but don't interpolate trailing "a"

by jeroenes (Priest)
on Oct 10, 2001 at 21:01 UTC ( #118049=note: print w/replies, xml ) Need Help??


in reply to "switch$ia" but don't interpolate trailing "a"

Not that I am wiser, but:
my $host = "switch${i}a";
does the trick.

Replies are listed 'Best First'.
Re: Re: "switch$ia" but don't interpolate trailing "a"
by mandog (Curate) on Oct 10, 2001 at 21:08 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://118049]
help
Chatterbox?
QM waves to the peanut gallery, and wishes he were writing Perl today.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-06-29 09:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (657 votes). Check out past polls.