Help for this page

Select Code to Download


  1. or download this
        open (OWO, "+>$owo") or die $!;
    
  2. or download this
        @ary = <OWO>;
    
  3. or download this
        %hsh;
    
  4. or download this
        undef @hsh {@ary};
    
  5. or download this
        @list = keys %hsh;
    
  6. or download this
     
        open my $fh => "+< $owo" or die "Failed to open $owe: $!\n";
        my %seen;
    ...
        print $fh @uniqe;
        truncate $fh => tell $fh or die "Failed to truncate $owe: $!\n";
        close $fh;
    
  7. or download this
        system "sort -u $owe > $owe.tmp; mv $owe.tmp $owe";