Hi ;
I have a perl script that does a whole bunch of stuff and at the end ssh's to a remote server and runs a script from there.
It looks like it is correctly ssh and running the commands.Ho...
How Can I pass perl array to Oracle stored procedure?
Can some one please provide code snippet for the same?
I am using the latest version of Activestate PERL for Windows and I am wondering if there is a way to extract the Meta data from a file. I know how to get the basic information, like creation ...
Hi.
I need to chmod 775 *.pl in a directory. I need to be able to call a perl script from my webbrowser, and pass the directory as a parameter. something like http://www.mysite.com/myscript...
I'd like to have my perl script watching a folder, and whenever there is a file in there to load it in and start doing automatic operations on it. The problem is, the files I'm uploading are ...
I have been unable to access https sites with the LWP module.
I have read that I need to install SSL, but have had no luck.
Is there a Perl module that has all the functionality of acce...
I had this script working just fine (from nms-cgi.sourceforge.net) - but recently upgraded from Red Hat Linux 7.x to 9.x and after transferring all the data over, all the cgi scripts so far ha...
Hi,
I have a script that needs to run a system command such as:
system("cqtool submit");
I need that call to have something like :
system("cqtool submit %\n")
to simulate a carriage ...
i have a script that searchs some files and prints out the lines that contain both of two key words but i only get a print out when i have the case as it is in the file, sometimes these key wo...
$dbh->do (qq{ INSERT INTO code SET code = ? } ,undef,$content);
looking at this example code, why is undef used?
In trying to delete files in directories, within directories, I've found that I can unlink if I know the names of specific files, such as
open.dat or history.txt or index.htm,
but could som...
I am building a perl cgi script that involves downloading things, I need the script to be capable of checking to see if a file really exists on a remote server. For example http://www.fileser...
I'm developing a Perl/Tk script to create an Oracle schema which needs to run on both Solaris and Windows 2000. The problem lies with platform specific modules i.e. I have to use ActiveState 5...
Not being an expert in pattern-matching, I've been struggling with this for a while and I think there's a simple solution. I want to substitute a letter A-J for any number 0-9 which appears a...
Hi,
I'm having the worst brain freeze. I have the following multidimensional hash:
$hash->{$account_number}->{"KEY1"} = "VALUE1";
$hash->{$account_number}->{"KEY2"} = "VALUE2";
$...
I'm new to both Perl and regular expressions. I have a messy data file that I need to "neaten". I've been given a simple Perl script that accomplishes the task and need to translate this scr...
I am trying to teach myself forking in Perl, and am kinda running up against a wall. It may be that forking is actually the wrong approach. What I eventually want is a script that will monit...
Hi everyone i hope all of you are fit and well and would love your input.
Guys, I have been working on a project sending a variable to a perl cgi script from a php page.
##########
OUTC...
i am trying to count the number of occurances of a the following sentence in the source code of a webpage.
<!-- changed logic:noMatch to logic:notEqual to prevent similar symbols from displ...
i have a perl script located on a server
i want to run/call that script from a link on a html page
Is there way way to call a perl script and pass it not one, but two parameters
from a link...
Here is the code to get the filehandle:
if(!open(OP, "system_profiler SPParallelATADataType |")) {
die("Error: System_profiler did not execute correctly. (SPParallelATADataType)\n");
}...
Hello ,
I have a script that i need to pass varibles to from a command line.
example #perl test.pl var1 var2 var3 etc....
***************************
sub process_transaction {
($...
Hi
I am using rhe current code to connect to an oracle database:
#!/C/perl/bin/
use strict;
use DBI;
my $dbhost = DBI->connect("dbi:Oracle:test.world",'pass','pass') || die "Cant c...
Hi;
I have a program that I am converting to Perl from BAT. I am having issues calling system commands and take the output and use it for another command. For example
UserLocLA = File.new(...
after using $File::Find::dir to get the directory name (and path), I would like to grab just the directory name and throw out all the stuff upto the last slash:
Ex: c:/folder1/someDir/anoth...