Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: conveting .txt file to .dat

by ww (Archbishop)
on Oct 24, 2016 at 17:50 UTC ( [id://1174611]=note: print w/replies, xml ) Need Help??


in reply to conveting .txt file to .dat

We can't help you much when you post irrelevant code... but Corion's already mentioned that.

But since your narrative remark sounds as though you're merely RENAMING files (ie, merely changing the Win-style extension or "file type" from .txt to .dat), you don't need to read the files and re-write them; just rename.


Yet another gimmé request! Sorry, we expect SOPW to seek wisdom, not to ask us to do so for them.

Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. relevant (real) code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.

Replies are listed 'Best First'.
Re^2: conveting .txt file to .dat
by AnomalousMonk (Archbishop) on Oct 24, 2016 at 23:05 UTC

    Please see rename.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-25 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found