First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103
Perldoc error: "Could not create temp file"
Greetings, groups. I'm running Windows 2000 and djgpp, and trying to read the built-in perl documentation via "perldoc", but it's not working. Perldoc fails both when invoked from the Windows command processor (cmd.exe) or from Bash. In either case, I get an error like this: wd=C:\djgpp\bin %bash bash-2.0... 21 Apr 2008 16:33
incorrect errno/perror with IO::socket->new
I have been having fits getting meaningful errno/perror values out of Perl from Socket->new() and I am hoping someone here might know what is going on. The errno/perror values seem to work fine on my Linux servers but AIX, HP, and Sun are not giving me a correct failure value. I have remote servers set up so that ... 22 Jan 2008 20:10
Close function blocks forever when reading from piped output
I am reading piped output from a command that produces a lot of output. I would like to terminate reading the data before the end of the output is reached. The following sample program illustrates the issue. The program will get stuck on the close(). Any help in dealing with this situation will be appreciated... 10 Dec 2007 00:14
Failed with exit code 65280.
Hi all, I've had a look around but haven't managed to find any info on this particular problem. Maybe I was searching for the wrong stuff. Anyway, I have a script that runs the flac and lame tools to convert between FLAC and MP3. Within the script the variable $convert_command contains the full piped command... 10 Dec 2007 00:14
Mtime
Is there an easy way to get perl to return the mtime of the oldest file in a directory? M ... 14 Nov 2007 09:46
system call - how-to.
well i wanted to just mess a little with perl and try if it can give me the same result of a small shell script i wrote a little while ago but it doesnt seems to work out with me . here is my shell script #!/bin/bash DIRECTORY="/usr/bin" for file in $DIRECTORY/* do whatis `basename $file` done exit 0 ... 6 May 2007 11:27
FAQ 6.13 How do I process each word on each line?
This is an excerpt from the latest version perlfaq6.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 5 Mar 2007 21:17
Problem with Perl extensions
Hi I'm trying to set up otrs on windows small businness server on IIS 6.0. When I set perl.exe for .pl extension in IIS manager I see login screen but when I try to login I get cgi error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I've changed perl.exe to perlis.dl... 24 Feb 2007 18:53
how to handle Multi Value Hash output?
Hi all! I have a script that returns one SNMP OID from an SNMP Agent. It works perfectly: #!/usr/bin/perl -w use strict; use IO::Handle; use Net::SNMP; my $agentIdUniqueId = '.1.3.6.1.4.1.1977.1.1.2.1.0'; sub getuid { my ($session, $error) = Net::SNMP->session ( -hostname => shift || $_[... 24 Feb 2007 18:53
problem reading remote file.
Hello, I have a script to read remote file. The script goes as follows, #!C:\Perl\bin\perl.exe $remote= '\\\remotehost\remotedir\remotefile.jml'; open(fp, $remote) or die ("could not open the file"); print while(<fp>); close(fp); This script runs fine on my windows machine. But the same script when ... 18 Feb 2007 04:24
First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103