Hi,
Useperl -v
dinesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Bothered to a code for you check this out.
#!/usr/bin/perl
use integer;
#Keep a default setting to start off with
$str=100; $sfile="";
foreach $i (`ls`) {
chop($i);
if(-f $i) { # change this for including directories also
if (-A $i < $str) { $str = -A $i; $sfile=$i; };
}
}
print "$sfile
Hi,
Check MS documentation, on how to configure ".pl" cgi scripts in PWS. That
is all you require to do,
if you want to run perl cgi scripts. You dont require to mention #!/usr/bin/perl
line in perl cgi scripts in windows,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi,
Please check www.activestate.com, they have a windows Perl Port which has
OLE support.
N.Dinesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
Try out this code,
#!/usr/bin/perl
@lines;
$array_counter=0;
open(fd, "file.txt");
$line=;
while($line) {
if($line =~ /\>gi\|[\d+]/) {
$line=;
@lines[$array_counter++]=$line;
}
$line=;
}
print @lines;
close(fd);
Assume file.txt is the file out here. And @lines wil
Yeah. Use ->is the directive to include packages !
like ex:-
Use Net::CMD;
N.,dinesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
The command "Uname -a" will tell you the OS name and the version
you can cal this from your perl script.
Dinesh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]