Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to remove underscore before every dot using perl?

by madtoperl (Friar)
on Mar 16, 2017 at 09:50 UTC ( #1184854=note: print w/replies, xml ) Need Help??


in reply to How to remove underscore before every dot using perl?

Hi finddata,
You can try this for your current input data assuming only one _ is there,
#!/usr/local/bin/perl use strict; use warnings; my $str = 'DEMO_.perl'; $str =~ s/\_//; print $str;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1184854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2020-02-18 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (75 votes). Check out past polls.

    Notices?