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: 176 - 200 of 1890
 
Ok, PERL gurus! I am working on a project to allow streaming(scrolling) text for a cgi chat server in a multi-framed HTML document. I have seen several client / server models and sample code, ...
Follow up to previous question... I got a great script from Clockwatcher and want to modify it so that it returns not just files added and deleted to the directory, but if existing files ha...
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...
I've installed Active State Perl v5.8.7 (b.813) on my Windows XP machine.  I then downloaded five modules, unzipped them, and copied the pm files to appropriate directories under C:/Perl/lib/....
Hello,   I am a complete newbie when it comes to this. I would like to use XML::Simple to write a hash table to an .xml file. For me, this is best explained by examples: the hash table i...
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
Hi Experts,    I am using the following piece of code to read a CSV file,      open CSV, "A:/Auto.csv" or die "Can not open Auto.csv $!\n";      %files=map/(\S+),\s*(\S+)/g,<CSV>;      close CSV;    ...
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 ...
I have a perl script on Windows that automates Sorensen Squeeze, an encoding program. It calls Squeeze via the command line, Squeeze encodes the file, quits, and the perl script continues. ...
Hi , Iam trying to copy files from Mapped Drive U to another Drive D: on DSame Server. U drive has sub folders .  Target location  Drive: D:\x\y\z\ My script is looping through one file (li...
Hi Friends, I spent all my night working on this code but it only works if I assign the values directly to the variables, but if I take the value from an html file using post method it return...
i want to use Perl to write a script that can SSH to a host, execute some commands there. Solutions using easy-to-use/easy-to-install Perl module will have advantages to get my points :-).
I am using WindowsNT perl 5.003_07. I am have find folder name, filename and file size inside the path D:\graphics\xyz. first find the first folder inside the folder XYZ and print the fo...
I cannot set the timeout on socket reads. I have reduced the program to the simplest: $connect_timeout = 30; $read_timeout = 5; $sock = IO::Socket::INET->new( PeerAddr => $mailhost,   ...
Here's a snippet of the perl/CGI code I am working with: while ( my $cols = $sth->fetchrow_hashref) {     print "\t<TD>$cols->{Name}<BR></TD>\n";     print "\t<TD><center>$cols->{Town}<BR...
unable to call perl script from html or from vbscript <SCRIPT LANGUAGE="PerlScript"> sub FindEffort() {   ..   .. } </SCRIPT> <SCRIPT LANGUAGE="VBScript"> sub Effort  FindEffort()...
I've got the following script: #!/usr/bin/perl         my @a = ();         while ($line = <>) {         while (@a) {         pop @a;         }         chomp $line;         while ($line...
I have a Perl Script which works when Basic Authentication is used but gives Http Error 401 after the IIS Authentication Method is changed to "Integrated Windows Authentication" on Windows 200...
Hi experts, I’m currently testing hundreds of URL. All URL require the same username and password to open. My question is how can I open an URL in Perl? Once I successfully access the URL...
HI, I have a perl script that generates an Excel sheet with data. I wont to run a macro on that data, for example, a Pivot macro. The problem is that the Excel sheet that I've just create...
How can I get the list of directories? I basically need to execute script2 for each directory so that my script ends up executing the following commands: script1.plL perl script2.pl dir...
Hi, Could you help me on this.  I was searching for this kind of script for the past 2 weeks and nobody was help me out. I'm very new to perl scripting and that's the reason why I'm aski...
Can I use awk or perl or other utility to make one output entry for a line starting with a date and 3 following lines with a filled parameter? so it looks like this?: 02-01-2008 03:34:50 20...
Dear experts, I need a solution to work on a unix environment.  To automate the saving of attachments off to a specific directory when a new email arrives. These are the basic rules: If the...
I am parsing a webpage using a PERL script. $page =~ s/\n//sg;          # Removes all the newline symbols Unfortunately, the output has some extraneous carriage-returns (CR, octal \015). (I am ...