Search Results

Search: Posts Made By: chettyravi
4,060
Posted By chettyravi
Perl script to create/write into spreadsheet
Hi,

I need help in debug following script. can somebody help....!!!


#!/usr/bin/perl -w

use strict;
use Spreadsheet::WriteExcel;

# Create a new workbook called simple.xls and add a...
2,240
Posted By chettyravi
thx u durden_tyler. its working. Rgds, ...
thx u durden_tyler.

its working.

Rgds,
Ravi.
2,240
Posted By chettyravi
Hi, I want to find and replace following...
Hi,

I want to find and replace following highlighted portion

$display("Register write value\n".write(status,data));

with following.

$display("Register write value\n",data);

Rgds,...
2,240
Posted By chettyravi
Find and replace, perl code
Hi,

Can somebody tell whats wrong with "find and replace perl code".

I wanted to find "\n".write(status,data" and replace with "\n",data" in multipls files.


#!/usr/bin/perl
my @files =...
4,218
Posted By chettyravi
thx rajamadhavan, Is this following code is...
thx rajamadhavan,

Is this following code is correct:

Code:
$line=~ s/,\s?,?rdata\)|,,?rdata\)|,?rdata\)/\.read\(status,rdata\)/g;

ravi.
4,218
Posted By chettyravi
Find multiple strings and replace single string
Hi,

following Perl code i used for finding multiple strings and replace with single string.

code:

#!/usr/bin/perl
my @files = <*.txt>;


foreach $fileName (@files) {
print...
1,238
Posted By chettyravi
Perl code request
Hi Perl Experts,

I am new to Perl programming.

can somebody please help me in writing Perl code for following "find and replace logic".

i wanted to find following line in list of files in a...
1,759
Posted By chettyravi
thx for quick reply. its working.
thx for quick reply.

its working.
1,759
Posted By chettyravi
Multiple search strings replaced with single string
Hi,

I need someone's help in writing correct perl code.

I implemented following code for "multiple search strings replaced with single string".
...
1,233
Posted By chettyravi
its working thx u
its working thx u
1,233
Posted By chettyravi
Need help in writing perl script
Hi,

I am new to perl.

I am trying to write a small perl script for search and replace in a file :

========================================================
#!/usr/bin/perl


my...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 08:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy