Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Data::Dumper;
    
    ...
    my %data = $text =~/ ([^=]+)="([^"]+)/g;
    
    say Dumper(\%data);
    
  2. or download this
    $VAR1 = {
              'grade' => '7',
              'teacher' => 'Priyanka',
              'remarks' => 'Good,Verygood,bext,excellent'
            };