May I know how to convert a perl script into an .exe file? It is because my user's PC do not have Perl5 software.
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...
Here's what I am using for my code, I want to be able to add multiple people on the TO: line CC: line and resolve them: Please help!
$myvar = "Resolved Name";
use Win32::OLE;
my ...
i m doing the folowing:
1) moving a file from one location to another
2) unzipping that file in new location
3) parsing the file in perl in new location (size of file is approx 130 MB)
...
Dear Experts -
file names
------------
hfospsm.5809.txt
HFOSPSM_1939.TXT
HFOSPSM_319001.TXT
hfospsm_38D5.txt
hfossm.5809.txt
HFOSSM_1939.TXT
HFOSSM_319001.TXT
hfossm_38D5.txt
...
5 3TA TA cust011 3/27/2008 2:30 3/27/2008 2:40 SU 0:10
7 3TB TB cust015 3/27/2008 2:30 3/27/2008 2:36 SU 0:06
This is a tab delimited file with the 5th,7th col is the date while 6th,8th ...
I get the following error when trying to exicute a perl script from a command line.
What does it mean and how can I resolve it?
->perl ./script.pl
Hi All
I need to add the ability to the calculate square yard and the price. This code currently does a square foot print out. It needs to carry two places past the decimal point. Example: ...
Hi
I have a perl script which can only be executed on a unix machine, a legacy issue. I need to be able to run the file from a Windows environment using an ant script how do I go about this?
Hi all!
I need help with Perl under Windows command-line to solve the following task:
I have many disordered txt files and subdirectories under the root directory "c:\dir", like this:
c...
Hi,
I have a question, how to we call Unix commands like mailx from a perl script.
Appreciate any help
I've got an HTML form with a long list of data. I want the user to be able to pick one, just one out of the list. Currently the list is 165 names. So I created a radio button for each name ...
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 am wondering if anyone knows how to use MAMP with Perl.
I saw a cg-bin while I was looking through the folder, but can't find anything in the docs.
Thanks,
Ryan
#!/usr/local/bin/perl
I don't know what I'm doing wrong here
I plan on running this from a CRON.
I keep getting a
"No recipient addresses found in header"
message.
Any ideas?
...
I have a text file in the format:
(Future) Ch. Giscours Margaux 750ml 12 per case
WA 90-92 points, This saturated ruby/purple-colored effort offers notes of liquid minerals interspersed wi...
I am taking a date parameter on command line how do I validate correct format of the date in perl and need to pass it to oracle procedure. Currently I pass procedure the date as VARCAHR2 but I...
I'm trying to upload a resume from my local computer into a database. When I run the script below i get a "bad file descriptor". Recently I transferred the project from "test.mysite.com" to ...
I am manipulating some data in a database in preperation for transfer to another database. The manipulations require that I be able to look at data in multiple rows at the same time. I am usin...
I need to call an oracle stored procedure and pass parameter to that procedure from perl, using bind variables. I have written some code.
But it is giving the error
Can't bind unknown place...
What's the most efficient (fast) way to eliminate duplicate lines in a text file in Perl (Windows - commandline)?
open (FILE, "C:/file.txt") || die "Could not open source file for reading.\n";
while (<FILE>) {
my ($name, $rpt, $type) = split (/\,/, $_);
print "filename: $name rpt: $rpt, t...
Whats the best way to find a java process for a particular user so that a system call for sighup can be issued? Basically I need to find the PID for several reasons - but the main one is it ki...
I have a perl script that will excute at a command line
perl /home/theuser/webproxy/scripts/wppr.pl
but in a crontab it will not.
3,13,23,33,43,53 * * * * perl /home/theuser/webproxy/script...