Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Regex for replacing hidden character: and L

by virtualsue (Vicar)
on Mar 18, 2006 at 06:30 UTC ( #537646=note: print w/ replies, xml ) Need Help??


in reply to Re: Regex for replacing hidden character: and L
in thread Regex for replacing hidden character: and L

If we ever see a day when there are line ending incompatibility occurring even between different versions of linux, ACK! In this case, it looks as though the same script is being run on multiple linux machines, but the odd character business is being seen on the box on which the command is run. If so, I sure hope that is not a newline problem. In neversaint's script he splits on whitespace and $tm is at the beginning of the thing being split, so this might make you wonder. :)

neversaint, if you always have to remove the last character of $tm, maybe you should just chop $tm rather than fuss with removing the char via s///.

Update: wording change in first paragraph


Comment on Re^2: Regex for replacing hidden character: and L
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-01 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls