Why command below doesn't work? Even I try qx, it also doesn't work....
#!/usr/bin/perl -w
system "setenv P Hello";
print "\nEnvironment Variable P = $ENV{P}\n\n" ;
Pls advice.
I wish to solve a problem running a perl script using mod perl and apache under WinXP invoked via a server side include.
Background.
I am mirroring from a web site hosted on debian, with a...
New user
I am getting the following error message:
Can't locate Net/SFTP.pm in @INC (@INC contains: ../lib.
/usr/lib/perl5/5.6.1/i586-linu
BEGIN failed—compilation aborted at …. line 3...
Hi,
I have some code using Archive::Zip that will extract the data from a zip file into a destination folder. I'm not able to work out how not to keep the directory structure of the zip and...
Hi there,
I need a perl script which will read the data in an xml file and insert that data in toan email.Please check the problem in the attachment below.
Thank's in advance.
Regards...
I need to run a perl in Active State for Windows that will check for a file on a webDav site If the file is not present then handle some exception. There is no proxy layer involved.
How do...
Hi guys last question on this i hope.
----------------------------------------------------------------
Outcome Im looking for (Example Only):
---------------------------------------------...
I've got a perl script and I was wondering if it is even possible to write a gui frontend for it that would run on Windows xp and linux?
If this is possible what would one use? TK...etc?
I installed the MD5.pm module using ppm for ActivePerl on WindowsXp but I'm getting the error:
"can't locate Digest/Perl/MD5.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at <scr...
Hi guys..hoping you can help.
Im running redhat linux and want to be able to change in many files, just the following code:
Replace:
<title><?php echo $title ?></title>
to be:
<...
I have a perl script using the "move" function within the File::Copy lib. It ran yesterday on a 4Gb+ file, and after the script ran the file was gone. There were 10Gb+ of free hard drive space...
Hi -
I'm trying to grab a list of files in the same directory that use the prefix, 'NEW_Historical_RCI_DI_'
How would I search through the directory and store this list of files in an arra...
I am trying to find a good way to detect file changes -- basically for syncing .zip files over a really poor / low bandwidth FTP link. So, I have one server that generates hundreds of .zip fi...
We have got a project where we need to clone around 600 applications of different technologies like JAVA,MAINFRAMES,ASP.Net, and PERL. Currently we are unable to find the approaches for clonin...
ok, I don't know how to write an array really, got a rough idea though.
I have a form that sends in some data, that data contains
A FileNumber that is only ever 1 to 3
A 4 Digit Year Nu...
This script (for getting login info of each user) worked fine in AIX 5.2, but returns nothing in AIX 5.3.
What could be wrong with this?
thx much
#!/usr/bin/perl
open (PASSWD,"/etc/pas...
A have an array of arrays which I want to sort according to the 3rd element of each of the child arrays, how can I do that?
In the code snippet below I would like the output to be:
5,3
3,5
...
Can I invoke perl from a file and write ouput to the same file. Example is as follows:
Filename sample.txt
...
..
perl C:\script.pl < somefile.txt > sample.txt
..
So, can I invo...
The following makefile runs a perl script. This perl script writes to the same makefile.
makefile
...
target: perl script.pl < somefile > makefile
target: OBJS
targ...
I need to do an HTTP GET request.
I built a 'tester' program with the following code:
-----------------------------------------------------------------
push @INC, "d:\\InetPub\\wwwroot\...
Hi,
I recently updated (autoupdate) my system (SUSE Enterprise 10) and I am facing problem with Perl. Some of my programs such as a DAS server (proserver)and apache2 which I used to run ...
Hi,
I have a problem where I was asked to find if a particular directory exists in a filesystem. For example we have SunOS unix operating system which has /uXX filesystems. I need a perl scri...
I need to define $logintime at the top of the script, define it at login, then access it in a sub script but it's not working? Please help!
I've the script below that looks at a file and compares the time it was modified to the system time and sees if the time is greater than 15 minutes or not. I've run into the issue of the file ...
I find myself needing to write a small bit of Perl, but despite my best efforts and many searches I can't seem to get it right (give me PHP any day!).
All I need to do is search a text file...