Hello
I need to know the best way to get a missing element
from an array.
i have an array @a of size containing values 1 to 101
with one value missing.
eg: @a=qw( 1 2 3 4 5 6 8 9 10 101);
(the array is not sorted and its only to make it
easier to understand)
now i need to find out the mi
the element in the array..
thanks in advance
jabir ahmed
I do the diffcult immediately,but the impossible take's a little longer!!!
Cresent canaopy apartments
#19 Davis Road,
Thomas town,
Bangalore -84
Phone (mobile) : +91-98867 01148
E-Mail: [EMAIL PROTECTED],[EMAIL PROT
array..
thanks in advance
jabir ahmed
--- [EMAIL PROTECTED] wrote:
> Good Afternoon
>
> I am attempting to develop a script that will parse
> a directory listing and return only directory names
> that match a given expression.
>
> It would make sense to me to use File::
> On Thu, 6 Oct 2005, ZHAO, BING wrote:
>
> >1. How do I change the unix system
> background to black,
> > mine is while which is so annoying whenever I do
> perl.
>
Hello ,
Try
$ echo -e "\33[40m" #to change the background color
and
$ echo -e "\33[33m" #to change the f
$file=$ARGV[0] || die "File not found $!";
my %uni=();
open (FH,"sort $file|");
$reccnt=0;
while ()
{
$line=$_;
my @details=split('\t',$line);
[EMAIL PROTECTED];
$reccnt+=1;
}
$file=$ARGV[0] || die "File not found $!";
my %uni=();
open (FH,"sort $file|");
$reccnt=
---
test.pm
---
package test;
sub ReturnValue()
{
my $a=10;
return ($a);
}
1; # as a module usually has a return value
---
call.pl
-
hello
can anyone tell me the basic difference between a
module and a class in perl.
i would be glad if you could give a brief example.;
thanks
jabir
I do the diffcult immediately,but the impossible take's a little longer!!!
Cresent canaopy apartments
#19 Davis Road,
Thomas town,
Bangalor