Guest User

Untitled

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