Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: split line from one point

by raybies (Chaplain)
on Oct 19, 2011 at 14:47 UTC ( #932424=note: print w/ replies, xml ) Need Help??


in reply to split line from one point

While all the above posts are correct, you're not understanding what "split" does...

what you want is the substitution operator:

s/T/,/;

(Essentially you're trying to substitute the 'T' for the ',') then just print, you don't even need the $a variable.

cheers!


Comment on Re: split line from one point
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-07-26 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls