On 13 August 2002 04:44 Janek Schleicher [mailto:[EMAIL PROTECTED]] wrote:
Kirby_sarah wrote at Mon, 12 Aug 2002 23:28:44 +0200:
line 344: $policyCount = split (/\t/, $violations{$vID});
Another way to count the parts is
my $count = 1;
while ($violations{$vID} =~ /\t/g) { $count++ }
What does this mean?
Use of implicit split to @_ is deprecated at UNIX_prelim.pl line 344.
line 344: $policyCount = split (/\t/, $violations{$vID});
-Sarah
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: Kirby_Sarah [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 14:29
To: '[EMAIL PROTECTED]'
Subject: deprewhat?
What does this mean?
Use of implicit split to @_ is deprecated at UNIX_prelim.pl line 344.
line 344: $policyCount = split (/\t/, $violations{$vID});
-Sarah
]]
Sent: Monday, August 12, 2002 2:29 PM
To: '[EMAIL PROTECTED]'
Subject: deprewhat?
What does this mean?
Use of implicit split to @_ is deprecated at UNIX_prelim.pl line 344.
line 344: $policyCount = split (/\t/, $violations{$vID});
-Sarah
--
To unsubscribe, e-mail: [EMAIL PROTECTED
the solution to
get around this? other than turning off warnings.
-Original Message-
From: Kirby_Sarah [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 5:29 PM
To: '[EMAIL PROTECTED]'
Subject: deprewhat?
What does this mean?
Use of implicit split to @_ is deprecated
On Mon, Aug 12, 2002 at 05:40:18PM -0400, Nikola Janceski wrote:
you are using split in scalar context. Anyone know what's the solution to
get around this? other than turning off warnings.
-Original Message-
Use of implicit split to @_ is deprecated at UNIX_prelim.pl line 344.
On Tue, Aug 13, 2002 at 12:06:50AM +0200, Paul Johnson wrote:
$policyCount = $violations{$vID} =~ tr/\t//;
Oops. I forgot the + 1.
$policyCount = $violations{$vID} =~ tr/\t// + 1;
Proofreading is so much easier once it's been sent.
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
This works for me.
Thanks for everyone's remarks and helpful advice.
-Sarah
-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 6:14 PM
To: Nikola Janceski
Cc: 'Kirby_Sarah'; '[EMAIL PROTECTED]'
Subject: Re: deprewhat?
On Tue, Aug 13
Kirby_sarah wrote at Mon, 12 Aug 2002 23:28:44 +0200:
line 344: $policyCount = split (/\t/, $violations{$vID});
Another way to count the parts is
my $count = 1;
while ($violations{$vID} =~ /\t/g) { $count++ }
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For