Help for this page

Select Code to Download


  1. or download this
    my @lines = split /\n/, $header, -1;
    
  2. or download this
    for my $magic_part ( substr $needed_line, 23 ) {
        die "Line is too short!"
    ...
        # double magic :)
        substr( $magic_part, 0, 5 ) = "sun4v";
    }
    
  3. or download this
    my $line = "x" x 23 . "something";
    
    ...
    __END__
    9
    ~~xxxxxxxxxxxxxxxxxxxxxxxsun4v    ~~