Martin,
I run into the same problem all the time. The best way I fix it is to load
the profile before I execute the the script. What everyone is saying will
work for you but it'll take some time to find everything.. Just try sourcing
your .profile in before you run the program and it'll w
>>this is verzeichnis.pl
#
#/usr/bin/perl -w
use strict;
my $qis_root = "/home/user1/DiREx/test";
my $SNR_LOG;
chdir($qis_root)|| die "can“t change to $qis_root!";
while (defined($SNR_LOG = <*>)){
#print "$dateien\n";
parse_logs($SNR_LOG);
}
sub parse_lo
How about putting a file lock on it?
That way if someone tries to access it and write to it, it will not work.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Don't use the -w... It's for warnings.. Then you won't get it.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
How about trying something if you are going to go through a string..
grep //
You can use the Use::Telnet(); function.. .
Here's a snippit of code:
$t = new Net::Telnet (Timeout => 10,
Prompt => '/[>]$/',
Errmode => "return" );
$t->open("$hostname.db");
if ($t->login($username, $passwd) ) {
@lines = $t->cmd("
I have seen something around online through these post about trying to find
that information. This will be for a Windows 9X/2k/Xp and so on.
Can someone point me to the right module that will help me find this stuff?
Thank you,
Joseph Bajin
Associate Systems Administrator.
Hi,
I like the Second one a lot better. I am a huge fan of ASUS
products. You might want to check with www.pricewatch.com. You might find
some better prices.
Good choice though!!!
Joseph Bajin
Associate Systems Administrator
Hello,
Here is some info about opening and closing files.
You can open a file by using the following syntax:
open(DOG,"/home/scotty/data/dogs") || die "Couldn't open DOG.\n";
To Close a file use:
close(DOG);
For File Globbing try:
while($x = ) {
open(FILE,"$x") || die "Couldn't op
It depends. If you are writing them to create a simple page. Maybe, but using
perl to decide something or take action is just a CGI script. So they turn
out to be very useful.
I am appearing to have some
troubles. It appears that it can not reach the hosts specified, but when I
try it manually it works just fine. Here is what I have for my code:
#!/usr/bin/perl -w
use strict;
use Net::Ping;
Initalize Variables#
my @hosts= qw(au)
This is one way I did it. The letters represent different things.
X,Y,Z,T,U,Q,W-- All Host Names.
Hope this Helps
my @hosts= qw(X Y ZZ TT UU Q WW;
my $username = "XXX";
my $passwd = "";
my $t;
my $check;
my @lines;
my $logPath = "/home//log";
my
I was wondering if it would be possible to create a script to act as a
wrapper. It would kick off any processes that would be scheduled to start and
if they would error that the wrapper would pick it up and report it somewhere
else say through email or whatever.. What would it take to create so
That's a very cool way of using that while loop and array. I got to see about
using that. Is it considered any quicker or less memory intensive?
- Original Message -
From: "Clarke" <[EMAIL PROTECTED]>
> $ man make
>What is the meaning of the dollar sign. I am using windowsME.
That was his Unix prompt. You won't be able to do a man on make in Windows.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
15 matches
Mail list logo