Ajax in 30 seconds ... well near enough at any rate ...
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Anyone remember Viz Top-Tips
I saved myself a fortune on vanity plates, by changing my name by deed-poll to the license plate I already have
Mr KVL 741Y, Norwich
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Sometimes, I think manufacturers do it on purpose, just to give us something to give out about -- YMMV ;-)
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
@2ffat, I doubt she'll be over the moon with the news of Bardley Wiggins, and Shane Sutton (TeamGB cycling coach) involved in seperate accidents last night/this morning, and they know what they're doing ;-)
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all...
You want to open the server to attack? Is SSHAuthentication enabled?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
check if it's an uninitialised value, and if it isn't, print it ...
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Put the line which draws the line inside a while loop, and sleep ?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
If primary key present, then update, not insert?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Have you tried writing some debug out to a logfile. Is it that the script doesn't run at all, or it definitely runs, but does jack and craps out, or what seems to be the issue?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Check out CPAN, look for Spreadsheet::WriteExcel
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
you could use windump or tcpdump to capture all traffic on the telnet port, 23 as standard.
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
Try using an absolute path to the image
"C:\Documents and Settings\User\Dox\image.gif"
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
what files are you seeing being printed when you run the script - the output from the dir command?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
there should be more than just "system failed: ".
try getting the directory listing for the script just before calling md5sum
@dir=`dir`;
print join "\n", @dir;
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
so you're sorted now?
if not amend travs69's script for your own details, and see what happens ...
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
are you sure it's listenting on the correct port, and that no firewall is blocking access?
Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
while (<FH>) { # read the file, line by line into $_
($key, @values)=split /\s+/, $_; set $key to the first item in the line, and the rest of the values gathered by the split get dumped into the array
foreach (@values) { # traverse the array, and output the key value, and each item in...
read in your line
split it
write out the requisite lines
open FH, "<infile.txt" or die $!;
open OF, ">outputfile.txt";
while (<FH>) {
($key, @values)=split /\s+/, $_;
foreach (@values) {
print OF, "$key\t$_";
}
}You may wish to get rid of the commas, but I'll leave that up to you ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.