Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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

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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-01 20:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.