fork download
  1. #!/usr/bin/perl
  2. use strict;
  3. use warnings;
  4. use feature qw/say/;
  5.  
  6. my $test ="aiueo";
  7. say $test;
  8. substr($test, 1, 1, "I");
  9. say $test;
  10. substr($test,2,1) = "U";
  11. say $test;
Success #stdin #stdout 0s 17760KB
stdin
Standard input is empty
stdout
aiueo
aIueo
aIUeo