#!/usr/bin/perl use strict; use warnings; while (chomp(my $line=<>)) { my (undef,$value)=split/=/,$line); $value =~ s/^\s+|\s+$//g; print "$value/"; }
In reply to Re^2: how to delete part of the line?
by walkingthecow
in thread how to delete part of the line?
by yskmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |