I have a table in a database which contains a date field. Being
technically inept this filed was specified as of type Char. I would now
like correct my error. My idea was to read in the date for each line of
the table, then insert this value back into a new field.
My code...
#! d:/perl/bin/pe
This is a concept question rather than a code question.
I have a script which produces a simple report on some simple disk space
stats for servers I work with.
I thought it would be useful to put this information into a database on
a daily basis. This would allow me to then look at historic data
Is it possible to issue multiple concurrent commands to system (for
instance) from within a perl script?
If it is (and I strongly suspect that it must be) would someone please
be so kind as to suggest some terms or perl commands to look up. (I
suspect the term threading might appear but I don't
Fantastic!
Thankyou.
From: Briac Pilpré [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2002 16:05
To: [EMAIL PROTECTED]
Subject: Re: Using system variables (M$ OS's)
Andrew Mason wrote:
> I would like to print a line containing the value of a system variable
> (I'm running on M$ NT4).
#!/usr/bin/
I would like to print a line containing the value of a system variable
(I'm running on M$ NT4).
My system variable is %IPADDRESS%.
At the moment my code looks like
chomp ($IpAddress=`echo %IPADDRESS%`);
print "blah blah $IpAddress blah";
Is there a better/preferable way of doing this?
Cheers,
I think the 'Scheduled tasks' referred to is what I would call the
Scheduler service.
AT jobs can be created from the command line (probably fine if you are a
Unix/Perl type person) or from the GUI using WINAT (if you are a dumb NT
person like me).
To use AT jobs the Scheduler service needs to
Where are the archives?
Sorry to ask such a dumb question but I don't know and it might save me
posting others.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Say I have an array @array = ( 1, 2, 3, 4, 5)
I know I want to remove the second value, $array[2]. How should I do
this?
Is it possible to issue a command that just does this for me or do I
have to loop through setting $array[n]=$array[n+1] for n>which ever
value I wish to remove? (I hope that