Is it possible to open aa file for both input & output

Discussion in 'Perl Misc' started by pavan734@gmail.com, Apr 27, 2006.

  1. Guest

    Hello,
    Is it possible to open a file for both input and output so
    that we can search for a pattern and replace with someother pattern in
    the samefile without opening any intermediate file.
     
    , Apr 27, 2006
    #1
    1. Advertisements

  2. wrote:
    > Is it possible to open a file for both input and output so
    > that we can search for a pattern and replace with someother pattern in
    > the samefile without opening any intermediate file.


    A namesake of yours asked exactly the same question 27 minutes earlier
    already.
    I believe the answers he got would probably answer your question, too.

    jue
     
    Jürgen Exner, Apr 27, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pawel Banys
    Replies:
    1
    Views:
    615
    Joe Smith
    Jul 8, 2004
  2. Emel
    Replies:
    2
    Views:
    6,300
    nish a
    Jan 29, 2010
  3. Michael
    Replies:
    1
    Views:
    1,929
    Ron Natalie
    Dec 1, 2004
  4. Replies:
    6
    Views:
    490
  5. ABCL
    Replies:
    0
    Views:
    808
  6. Bill David
    Replies:
    8
    Views:
    1,003
    CBFalconer
    Sep 10, 2008
  7. Schüle Daniel

    File::open and File.open

    Schüle Daniel, Oct 23, 2006, in forum: Ruby
    Replies:
    4
    Views:
    472
    Rick DeNatale
    Oct 24, 2006
  8. Replies:
    19
    Views:
    344
    Uri Guttman
    Apr 28, 2006
Loading...