Hi there,

what is the way to collapse this search/replace to one line?

    my $filename_cmd = $cmd[-1];
    my $filename_cmd =~ s/\s/\./;


Cheers,

Noah

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to