Alpesh Naik wrote:
> Hi Thomas,
> and thanks for the reply,
>
> Given below is my code,
>
> #!/usr/bin/perl
#!/usr/bin/perl -w
=> You should always enable warnings.
> use strict;
>
> print "Content-type:text/html\n\n";
> use CGI;
> my $query = new CGI;
=> If you're using CGI, then you should
Alpesh Naik asked:
> I am trying to edit the text file using perl script.
> i want to replace a particular text of file with new text.
>
> but the problem is that the new text appeared at end of file;
>
> How can i solve this problem,
> pls. help
We can help you much better if we can a
On Tue, Jul 7, 2009 at 02:25, Alpesh Naik wrote:
> Hi all,
>
> I am trying to edit the text file using perl script.
> i want to replace a particular text of file with new text.
>
> but the problem is that the new text appeared at end of file;
>
> How can i solve this problem,
> pls. help
>
Hi all,
I am trying to edit the text file using perl script.
i want to replace a particular text of file with new text.
but the problem is that the new text appeared at end of file;
How can i solve this problem,
pls. help
Regards,
Alpesh.