Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Code Misses a Replacement

by dbwiz (Curate)
on Jul 07, 2005 at 19:45 UTC ( [id://473209]=note: print w/replies, xml ) Need Help??


in reply to Code Misses a Replacement

I agree with ww. The tab is there.

Try this:

s/,/<\t>/g;

Then, you will see the tab even if your settings prevent it.

On a side note, I would do the whole affair with a one-liner:

perl -pe 's/,/\t/g' < /c/mysql.out > /c/mysql.dshield

Replies are listed 'Best First'.
Re^2: Code Misses a Replacement
by monger (Friar) on Jul 07, 2005 at 20:47 UTC
    dbwiz, Thanks for the bracket tip. That got it. And I'll likely use the one liner for an eventual multi-lang batch job.

    monger

    Monger +++++++++++++++++++++++++ Munging Perl on the side

Log In?
Username:
Password:

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

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

    No recent polls found