Showcase your knowledge about Apple's newest OS. Write a how-to or share a tip or trick about Snow Leopard and earn unlimited points!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Perl Solutions: 201 - 225 of 1903
 
I have been trying to set up a connection to an Oracle database (using Oracle ODBC drivers) and Win32::ODBC for PERL. However, when I tried to test the connection using the script below I ...
I have a xml file that i need to convert to csv file. I have pasted the single xml record. Any help appreciated!!!
Environment: Windows XP I'm trying to write a script to change a password on several linux boxes. I know I can do it using Net::Telnet if I can create a console then start the ssh client th...
Short description: I need a regex that finds all strings that look like      "..." <clark.kent@mycompany.com> , and where ... does not include any of the words "clark", "kent" or "sup...
I need to be able to calculate all possible number combinations within any given number and alphanumeric set. It would be nice to be able to generate files filled with all possible number...
I'm writing a perlscript in Aptana (or Eclipse) and at a certain point, if the output to the console is too large, the beginning of the messages generated during execution, like anything I pri...
before I go mad, I'll try to post a question here: The Swedish characters from my mysql database doesn't display correctly on my webpage. I use a MySQL 5.0.32 database with the following p...
Hi, I need to execute a perl script from a c program. so I presume I have to use System call. I need to pass 2 arguments to the perl script. Arg1: filename Arg2: string The script should...
How do you go about getting and setting environment variables within a perl script?
I have ActivePerl on my winNT. I have used PPM to install DBI package. My question is how do I use DBI to connect to MS SQL Server to read info from a table by DSN and ODBC method ? The...
I have a small script, getting the info I want just not being able to get the format I want. I believe I need to join the results I have but not getting that to work. I have a file with...
How do I create a 2 dimensional array in perl and search the array for specific elements?
I have a System DSN called "testodbc" on a Windows 2003 server connected to an Access 2003 mdb file called testodbc.mdb. It has one table called "testtable" and one field called "testfield" of...
Hello, I usually check if file exist with (-e $filename) or die "$filename does not exist\n"; Windows and Mac OS X have case-insensitive file system, but this check is case sensitive. So if...
I need to read the contents of a text or xml file and convert all lower case letters in the contents of the file to upper case. Is there a simple way using Perl that I could accomplish this.
I want to get ALL parameters of GET method and put them together in a single string variable... ex. If Test.pl?a=1&b=2&c=3&d=%20Test%20 called I want to have a=1&b=2&c=3&d=%20Test%20 ...
Hi, I am trying to gunzip a file in perl and it seems to not work. Below is the logic.......     $subFile = getInputFile( $jobNum );     $subFile = system("/usr/bin/gunzip $subFile"); ...
I need to insert multiple records into an oracle table. i am trying to use perl to do this but i keep getting an error: C:\inser_into_dcl>fix_dcl_values.pl Processing line 1 => '2010  ...
I have a 24 Meg Log file that contain a significant number of system entries. I want to generate a file that contain only those entries that had the words "Cannot" or "No Entry" found in them....
Hi... Im trying to set up IKONBOARD and Im confused about setting my file permissions.  Im using ws_ftp to upload the files and it says to chmod to change the files permissions.  Isnt this ...
What do I do to get list of files that have tabs? How to do substitute the tabs with spaces? Is there a way to do that in a perl script that traverse the directory structure and replace tabs ...
I am piping all incoming mail from postfix to a perl script.  Currently, if the perl script fails the mail bounces back to the sender. How can I make the errors silent and log them to a fil...
Hi experts very urgent I want to get some informations from remote machines with windows os (by requestiing WMI) from linux machine so i know that i can do it with perl (on linux) is there a...
I hava a csv file on my debian machine, now I want to convert this csv file in to xls using the perl script.
PERL , AIX machine,   I wold like to  run HEAD or TAIL commands within a perl script so I can get only the first line and only  the last line of each file. I want to output them to a seperate ...