I am getting the error message
Spooler SubSystem App has encountered a problem and needs to close. We are sorry for the inconvenience.
while trying to print
I want to extract a perl module download from CPAN.
I have downloaded the file, double clicked on the .tar.gz file extension and the (not impressive) Vista OS asks me what program I want to r...
There is a perl script which takes two command line parameters as input. This script (myscript.pl) has been encrypted using GnuPG tool (i.e. pgp) resulting myscript.pl.asc. When this perl scri...
Hi I have two text files with two indexed lists (one text string on each line, index is pipe delimited).
I would like to compare all the strings of the first file against all the strings in...
I'm on a FC3 box with DBD-ODBC-1.16, DBI-1.605, unixODBC-2.2.9-1 , freetds-0.82 and perl 5.8.5. I'm struggling on connect Perl on Linux to Microsoft SQL Server 2000. I can successfully acces...
I've a Perl script working perfectly and now I must add:
use strict;
at the beginning of the script in order to run it correctly in a new server.
I get an error:
Bareword "break" n...
Hi! I have some large xml files that I need to import in ms access. Using excel I'm getting some problems with special characters (&, ...).
Is there any clean way to transform an xml into c...
Hello All,
I'm trying to figure out how to issue a snmpwalk command through perl. I have never done anything with snmp and programming before.
Attach is the system command that I use.
...
I need to create an array which will have 5 "columns" but an unknown number of "rows" that could change each time the script is run.
Is there any way to create a dynamic structure like this...
I am working on a Perl script that will logon to remote server and check if files exist on the hard driver.
I am new to Perl scripting, but so fare I got the script to check the files on the ...
Hi, I'm having a heck of a time importing a mysqldump file back into my database using Perl.
documentation and Google searches suggest this:
system "mysql -uUSER -pPASS DBNAME < source $p...
I have a bunch of file with spaces on their names
VER -18-11H.Reserved Drawing Number - No Version.dgn
and
VER-05-07.Reserved Drawing Number - No Version.dgn
I need to either remov...
Hello.
I processed a lot of data in Perl, and now I need to sort it.
My data is in a text file called data.txt:
NLLHETDSA 981.03
TQIPHLAGT 919.04
ETDSAVATA 845.86
LCA...
How can I use perl to see whether or not a remote file exists or not?
I need to check to see if a file is available on a unc path \\host\file1 and handle the exception if it is not accessib...
I'm looking for a perl script that will extract domain names from html files AND a detail explanation on how the expression works.
Attached is the code that I've come up with. I'm trying t...
I hava a csv file on my debian machine, now I want to convert this csv file in to xls using the perl script.
I have a problem with a perl script that should redirect output to a certain file in a certain directory. The problematic line is
system "echo teststring >$testdir\\log.txt";
This is runni...
I'm trying to write a program that can send and receive files from a server using a socket connection. I tested this code out with only the file transfer and it works fine, however once I star...
I'd like to calculate the difference between two times from the following time format
("%Y-%m-%d %H:%M:%S")
This is the date time stamp from my database concerning the arrival of the las...
What's the most efficient (fast) way to eliminate duplicate lines in a text file in Perl (Windows - commandline)?
@chars = split(//, $word);
@words = split(/ /, $sentence);
@sentences = split(/\./, $paragraph);
I think I understand that chars split on '//" (empty string?) and words split on "/ /"(one...
Hi,
When you're using the following syntax to iterate a 2D array:
for ($it (@my2dArray)) {
for ($j = 0; $j < @$it; $j++) {
}
}
I'm assuming that:
...
Hello Experts,
I am looking for some tips and possibly examples in creating a perl or a shell script that would
run off my cygwin env to analyze csv files and replace for ex: the column 5 w...
Hi,
I am new to Perl and have been assigned a task at work which involves outputting groups of data from an Oracle Database to a web page (as multiple HTML tables). That i have managed OK. ...
Hello,
Can anyone please help explain how to use sftp in perl without using NET::SFTP. I think it will be possible just by using binary commands in program. For eg. using
sft username\@ho...