Help for this page

Select Code to Download


  1. or download this
    use Algorithm::Loops qw( NextPermute );
    
    ...
    my @unsorted = qw( a c b d );
    my @sorted = mysort(@unsorted);
    print("@sorted\n");
    
  2. or download this
    use IPC::Run3 qw( run3 );
    
    ...
    my @unsorted = qw( a c b d );
    my @sorted = mysort(@unsorted);
    print("@sorted\n");