Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Syntactic Confectionery Delight
 
PerlMonks  

Re: Text manipulation with perl

by ickyb0d (Monk)
on Sep 29, 2005 at 17:15 UTC ( [id://496251]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Text manipulation with perl

I'm not the best with RegEx's but this would probably work
foreach my $line(@all_lines) { $line =~ s/-//g }
or if you only want the one at the beginning of the line
$line =~ s/^-//g

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://496251]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.