Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Match the starting \>

by almut (Canon)
on May 15, 2009 at 09:42 UTC ( [id://764225]=note: print w/replies, xml ) Need Help??


in reply to Re: Match the starting \>
in thread Match the starting \>

...does nothing different

it could do something different, though, if you stick more closely to what the original code was:

if (/</) { s/^<\s//; # remove "< " at beginning of line # ...do something with lines that do/did contain a '<' anywhere }

(not sure whether that is what the OP intended, though...)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found