Help for this page

Select Code to Download


  1. or download this
    my $host = lc(shift(@_));
    
  2. or download this
    my @lines = grep { lc($_) eq $host } @ry;
    
  3. or download this
    use List::Util qw( first );
    my $line = first { lc($_) eq $host } @ry;
    
  4. or download this
    use List::Util qw( first );
    my $line = first { lc($_) eq $host } <$fh>;
    
  5. or download this
    sub get_comments {
       my $host = lc(shift(@_));
    ...
    
       return;
    }