in reply to populate a hash, with limits set by user?
Guaranteed to impress old LISP hackers.#!/usr/bin/perl -w use strict; print "Limit? "; my %input = map { print "Key = Value: "; split(/=/, <STDIN>); } (1 .. +(<STDIN>)); print %input, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: populate a hash, with limits set by user?
by BastardOperator (Monk) on Sep 12, 2000 at 16:38 UTC | |
|
RE: Re: populate a hash, with limits set by user?
by Adam (Vicar) on Sep 12, 2000 at 20:58 UTC |