a guest Aug 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- %data = ('Lisa' => 30,'John Paul' => 45,'Kumar' => 40);#suppose this is my hash data.
- @names = keys %data; #name
- @age = value %data; #age
- print "Enter the name:";
- my $name = <STDIN>; #input
RAW Paste Data