kwn has asked for the wisdom of the Perl Monks concerning the following question:
%locs = (one => '\d$\stuff, two => '\d$\things, three => '\d$\files') %servers = {kwn => "\\server1" krs => "\\server2"} my $server = <STDIN>; chomp $server; my $loc = <STDIN>; chomp $loc;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pulling value based on input
by moritz (Cardinal) on Sep 25, 2008 at 07:33 UTC | |
|
Re: pulling value based on input
by mscharrer (Hermit) on Sep 25, 2008 at 09:25 UTC | |
|
Re: pulling value based on input
by toolic (Bishop) on Sep 25, 2008 at 11:34 UTC | |
|
Re: pulling value based on input
by toolic (Bishop) on Sep 25, 2008 at 22:06 UTC | |
by kwn (Novice) on Sep 26, 2008 at 00:23 UTC | |
|
Re: pulling value based on input
by kwn (Novice) on Sep 25, 2008 at 21:39 UTC |