password friends
news.aol.com/nation/lottery/prizes
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
Thanks all .
On Sat, Nov 28, 2009 at 3:00 AM, Randal L. Schwartz
wrote:
> > "Majian" == Majian writes:
>
> Majian> Hi ,all:
> Majian> I have a problem about this :
>
> Majian> cat test:
> Majian> 12
> Majian> 23
> Majian> 34
> Majian> 45
> Majian> 56
> Majian> 67
>
> Majian> I want to bec
Dermot wrote:
> 2009/11/26 Scott Pham :
>> Have you looked at DBIx::Class?
>>
>
> I'd 2nd that. DBIx is the way forward. You should be looking to stop
> writing SQL statements and moving towards ORM. Try the example at
> http://search.cpan.org/~frew/DBIx-Class-0.08114/lib/DBIx/Class/Manual/Example
Huub van Niekerk wrote:
> Hi,
>
> Sorry if this is the wrong group.
>
> Using Fedora Linux, due to system changes the path to the Perl modules
> has changed. I've found that @INC contains the new path, but it's placed
> after the old path. So now I'm getting messages that modules can't be
> fo
- Original Message -
From: "Dermot"
Newsgroups: perl.beginners
To: "John W. Krahn"
Cc: "Perl Beginners"
Sent: Friday, November 27, 2009 12:29 PM
Subject: Re: a simple question about the line
2009/11/27 John W. Krahn :
Hello,
$ echo "12
23
34
45
56
67
78" | perl -lpe'$\=--$|?
Hi,
Sorry if this is the wrong group.
Using Fedora Linux, due to system changes the path to the Perl modules
has changed. I've found that @INC contains the new path, but it's placed
after the old path. So now I'm getting messages that modules can't be
found in @INC anymore. The docs I've read
> "Majian" == Majian writes:
Majian> Hi ,all:
Majian> I have a problem about this :
Majian> cat test:
Majian> 12
Majian> 23
Majian> 34
Majian> 45
Majian> 56
Majian> 67
Majian> I want to become like this :
Majian> 1223
Majian> 3445
Majian> 5667
Majian> I thought it for a long time , but I
2009/11/27 John W. Krahn :
> Hello,
>
> $ echo "12
> 23
> 34
> 45
> 56
> 67
> 78" | perl -lpe'$\=--$|?$,:$/'
> 1223
> 3445
> 5667
> 78
For the benefit of this Luddite, please explain?
Dp.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@
Majian wrote:
Hi, all :
Hello,
I have a problem about the lines of the file ,
like this :
cat test
12
23
34
45
56
67
78
...
==
I want to display like this :
1223
3445
5667
It means the next line is after the last line .
How do it by the Perl ?
$ echo "12
23
34
45
56
6
PigInACage wrote:
> Hello all.
>
> I've got a file CSV with 3 column
> name,surname,group
>
> if one of the column has got a space like
> Davide,Super Dooper,Group
> I cannot use it in a for loop
>
> for i in `cat list.csv` ; do echo $i ; done
> the result is
> Davide,Super
> Dooper,Group
>
> h
On Fri, Nov 27, 2009 at 6:32 PM, PigInACage wrote:
> Hello all.
>
> I've got a file CSV with 3 column
> name,surname,group
>
> if one of the column has got a space like
> Davide,Super Dooper,Group
> I cannot use it in a for loop
>
> for i in `cat list.csv` ; do echo $i ; done
> the result is
> Dav
PigInACage wrote:
> Hello all.
>
> I've got a file CSV with 3 column
> name,surname,group
>
> if one of the column has got a space like
> Davide,Super Dooper,Group
> I cannot use it in a for loop
>
> for i in `cat list.csv` ; do echo $i ; done
> the result is
> Davide,Super
> Dooper,Group
>
> h
Dermot wrote:
> 2009/11/26 Scott Pham :
>> Have you looked at DBIx::Class?
>>
>
> I'd 2nd that. DBIx is the way forward. You should be looking to stop
> writing SQL statements and moving towards ORM. Try the example at
> http://search.cpan.org/~frew/DBIx-Class-0.08114/lib/DBIx/Class/Manual/Example
On Nov 25, 7:44 am, raheel.has...@gmail.com (Raheel Hassan) wrote:
>
> I am unable to understand the use of these statements in the program, I have
> read about POSIX in the CPAN but still things are not clear to me.
>
> use POSIX ":sys_wait_h"; #What sys_wait_h does?
>
> waitpid($_,&WNOHANG) # w
Hello all.
I've got a file CSV with 3 column
name,surname,group
if one of the column has got a space like
Davide,Super Dooper,Group
I cannot use it in a for loop
for i in `cat list.csv` ; do echo $i ; done
the result is
Davide,Super
Dooper,Group
how can I have all inone line?
Really thanks.
-
On Fri, Nov 27, 2009 at 8:34 PM, Majian wrote:
> Could you explain it ?
>
> What is the meaning of the $.? And Why use the "%2" operator?
>
$. means the line number, see perldoc perlvar and look for $.
%2 means the modulus operator.
# perl -le 'print $_%2 for 0..3'
0
1
0
1
HTH.
--
To unsub
Hi, all :
I have a problem about the lines of the file ,
like this :
cat test
12
23
34
45
56
67
78
...
==
I want to display like this :
1223
3445
5667
It means the next line is after the last line .
How do it by the Perl ?
Thanks in advance ~
--
To unsubscribe, e-
On Fri, Nov 27, 2009 at 8:03 PM, Majian wrote:
> Hi ,all:
>
> I have a problem about this :
>
> cat test:
> 12
> 23
> 34
> 45
> 56
> 67
> ...
>
> I want to become like this :
> 1223
> 3445
> 5667
> ...
>
# perl -e '
$m=<) {
chomp if $.%2;
print;
}'
1223
3445
5667
--
To unsubscribe, e-m
Hi ,all:
I have a problem about this :
cat test:
12
23
34
45
56
67
...
I want to become like this :
1223
3445
5667
...
That means the next line is after the above line ~
I thought it for a long time , but I have no idea yet~~
Can someone help me ?
Thanks
On Friday 27 Nov 2009 12:49:28 Rob Coops wrote:
> On Fri, Nov 27, 2009 at 11:26 AM, Kammen van, Marco, Springer SBM NL <
>
> marco.vankam...@springer.com> wrote:
> > Absolutely no'one with a example or hint in the right direction???
> >
> > :-(
> >
> > -
> > Marco van Kammen
> > Springer Science+B
On Fri, Nov 27, 2009 at 11:26 AM, Kammen van, Marco, Springer SBM NL <
marco.vankam...@springer.com> wrote:
> Absolutely no'one with a example or hint in the right direction???
>
> :-(
>
> -
> Marco van Kammen
> Springer Science+Business Media
> System Manager & Postmaster
> -
> van Godewijckstraa
On Fri, Nov 27, 2009 at 11:25 AM, Dermot wrote:
> 2009/11/27 Rob Coops :
> > On Fri, Nov 27, 2009 at 5:43 AM, raphael()
> wrote:
> >>
> >> HOW CAN I COUNT ELAPSED DAYS ?
> >>
> >> I tried in localtime() days value like
> >>
> >> my @array_date = localtime();
> >> my $current_dayofyear = @array_d
Absolutely no'one with a example or hint in the right direction???
:-(
-
Marco van Kammen
Springer Science+Business Media
System Manager & Postmaster
-
van Godewijckstraat 30 | 3311 GX
Office Number: 05E21
Dordrecht | The Netherlands
-
tel
+31(78)6576446
fax
+31(78)6576302
-
www.sp
2009/11/27 Rob Coops :
> On Fri, Nov 27, 2009 at 5:43 AM, raphael() wrote:
>>
>> HOW CAN I COUNT ELAPSED DAYS ?
>>
>> I tried in localtime() days value like
>>
>> my @array_date = localtime();
>> my $current_dayofyear = @array_date[7];
>>
>>
>> But this would break on New year as "$current_dayofye
> You can use regexes to match specific characters. But generally your converter
> (e.g: of ahttp://en.wikipedia.org/wiki/Lightweight_markup_language) wil ldo
> that for you. Do you need to guess the language of the document? I still don't
> understand exactly what you want to do.
>
Shlomi,
I do
Hi CM!
On Thursday 26 Nov 2009 18:42:30 CM wrote:
> > It's "Shlomi" (English spelling) - not "Schlomi" (German Spelling). Many
> > people make this mistake.
>
> My apologies.
>
> > What does "cat /etc/debian_version" say?
>
> 4.0
>
> > > I hit on an idea that each text file coming from differe
> It's "Shlomi" (English spelling) - not "Schlomi" (German Spelling). Many
> people make this mistake.
My apologies.
> What does "cat /etc/debian_version" say?
4.0
> > I hit on an idea that each text file coming from different sources will
> > have the Unicode UTF8 hex string of all the speci
On Fri, Nov 27, 2009 at 5:43 AM, raphael() wrote:
> Hi,
>
> I have to code a script to calc time elapsed in days as to calc the rent to
> be charged.
> The person would write an object number and date in a text file like
>
> db.txt
> OBJECT_NUM, DATE_GIVEN
>
> 2525,25.11.2008
> 2526,01.01.2009
>
28 matches
Mail list logo