2008/12/29 mobile.parmenides :
> Hi,
>
> I am new to perl. Experience from the C programming tell my we can do
> something well with an IDE. But, is there some IDE of perl, in which we can
> do coding, debugging, etc?
>
for general scripts programming, VI/VIM is enough,:)
--
Jeff Peng
http:/
Yes you can download Open Perl IDE or download TNL Perl Scripting Tool
Regards
Mani
--- On Mon, 12/29/08, mobile.parmenides wrote:
From: mobile.parmenides
Subject: Is there some IDE dedicated to perl?
To: "beginners"
Date: Monday, December 29, 2008, 6:18 AM
Hi,
I am new to perl. Ex
Hi Xie,
This is due to the default value of special variable $" which is the
separator used between list elements when an array variable is interpolated
into a double-quoted string. Its default value is space.
If you write $"="" before printing output will be v1v2v3 for both cases.
Similarly $"=
2008/12/30 xie ningde :
> I'm a new perl user. I was trying to print an array by using print @array
> and print "@array". Is it supposed to output the same thing? I got the
> different output. EX: @array=qw/v1 v2 v3/, the output for print @array will
> be v1v2v3 while it will be v1 v2 v3 in the oth
I'm a new perl user. I was trying to print an array by using print @array
and print "@array". Is it supposed to output the same thing? I got the
different output. EX: @array=qw/v1 v2 v3/, the output for print @array will
be v1v2v3 while it will be v1 v2 v3 in the other case. The difference is one
i
-Original Message-
From: Chas. Owens [mailto:chas.ow...@gmail.com]
Sent: Monday, December 29, 2008 11:55 PM
To: mobile.parmenides
Cc: beginners
Subject: Re: Is there some IDE dedicated to perl?
On Sun, Dec 28, 2008 at 19:48, mobile.parmenides
wrote:
> Hi,
>
> I am new to perl. Experi
On Mon, Dec 29, 2008 at 17:14, John W. Krahn wrote:
> John W. Krahn wrote:
>>
>> blackd77 wrote:
>>>
>>> Hello. I want to add sequential numbers to a file, one number per
>>> line, at the end of each line. The files have a .csv format. So, I'd
>>> like to add ",1" to the first line, ",2" to the se
John W. Krahn wrote:
blackd77 wrote:
Hello. I want to add sequential numbers to a file, one number per
line, at the end of each line. The files have a .csv format. So, I'd
like to add ",1" to the first line, ",2" to the second line, and so on
(without the quotation marks of course). I have not s
On Sun, Dec 28, 2008 at 19:48, mobile.parmenides
wrote:
> Hi,
>
> I am new to perl. Experience from the C programming tell my we can do
> something well with an IDE. But, is there some IDE of perl, in which we can
> do coding, debugging, etc?
>
> --
> mobile.parmenides
> 2008-12-29
On Mon, Dec 29, 2008 at 00:40, mod_perl User wrote:
> Hello, I tried installing Data::Dumper module, getting error when i make the
> file. >makecc -c-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
> -D_TS_ERRNO -xO3 -xspace -xildoff-DVERSION=\"2.121\"
> -DXS_VERSION=\"2.121\" -KPI
Hi,
You can do it in more ways. Try:
use strict;
my $nr;
open(my $in, "<", "file.csv");
open(my $out, ">", "result.csv");
while (<$in>) {
chomp;
print $out "$_," . $nr++ . "\n";
}
close $out;
close $in;
Or you can also try:
use strict;
my ($in, $content);
{local $/;
open($in, "+<", "file.c
blackd77 wrote:
Hello. I want to add sequential numbers to a file, one number per
line, at the end of each line. The files have a .csv format. So, I'd
like to add ",1" to the first line, ",2" to the second line, and so on
(without the quotation marks of course). I have not started building
the co
Hello. I want to add sequential numbers to a file, one number per
line, at the end of each line. The files have a .csv format. So, I'd
like to add ",1" to the first line, ",2" to the second line, and so on
(without the quotation marks of course). I have not started building
the code, so there isn't
Hello, I tried installing Data::Dumper module, getting error when i make the
file. >makecc -c-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO -xO3 -xspace -xildoff-DVERSION=\"2.121\"
-DXS_VERSION=\"2.121\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"
Dump
Hi,
I am new to perl. Experience from the C programming tell my we can do
something well with an IDE. But, is there some IDE of perl, in which we can do
coding, debugging, etc?
--
mobile.parmenides
2008-12-29
--
To unsubscribe, e-mail: beginn
15 matches
Mail list logo