fork download
  1. #!/usr/bin/perl
  2. # your code goes here
  3. %data = ('John Paul' => 45, 'Lisa' => 30, 'Kumar' => 40, 'Bill' => 50, 'Ted' => 60, 'Mary' => 70);
  4. @names = keys %data;
  5. $, = "|";
  6. print @names;
Success #stdin #stdout 0s 6000KB
stdin
Standard input is empty
stdout
Bill|John Paul|Mary|Lisa|Kumar|Ted