Wondering what these Bizarre SvTYPE [##] things are.
They always seem to happen when i fork something.
Odd thing: When running from my command prompt i don't get these errors but when i ru...
Hi
I want to get the ComputerName. If I use "$ENV{COMPUTERNAME}" it works perfectly in Windows 2000, but, not in Windows 98. This particular key "{COMPUTERNAME}" is not there for %ENV in W...
I am trying to install some perl scripts "mkstats" "GD.pm" and other's on my sun running solaris 2.5. I have perl5.003 on my system and it works fine with most programs, however whenever I tr...
I'm trying to figure out how to assign values to scalars
who's names are contained in another scalar. I am
clearly missing the boat on how PERL does ref/deref,
but I've tried so many variatio...
HELP ME PLEASE ! ! !
I have been asking this question many times in many newsgroups but I still
haven't got a way to solve my problem.
Why does the line-by-line output of this perl-script on...
How does the flock command work on an NT server?
In unix, I used:
flock (FF, 2); #to block
flock (FF, 8); #to unblock
Also, should both commands be issued while the file is open?
I'm trying to substitute leading and trailing blanks in order to enable boolean searching. I use the following code:
if ($input{'indexinput'}=~/or/) {
@input=split(/or/,$input{'indexinput'}...
Manual telnet would produce:
User Access Verification
Password:_
When I use the code below, I only get:
User Access Verification
(Can't get to the password prompt.)
The numbers in column 30 go from 0-1-2-3-4-5-6-7-0. They can say at the same number for a variable amount of time. I need a script that catches any time the number is the not the same , incre...
I have a question, I'm crating a script that will calculate the TF from a document. I have the document stored in a vector.
My question is when I print the vector I get the frequency of tim...
I need some help calculating the IDF.
I created this code that will loop thru an array of term, and it will check if the terms are in a hash that contains some text information.
my hash ...
Hi,
A web form I implemented many years ago (so long that I used PERL instead of PHP which I hardly remember now), is being inundated with SPAM. Evn though the messages only go to the webs...
Hello,
I have got one sql command which has got several "go" commands. I wan to
1. Remove go commands
2. And create separate array elements whereever go was found.
For. e.g.
SQL1...
I found some examples, and also the Writer module,
http://search.cpan.org/~josephw/XML-Writer-0.604/Writer.pm
I need to make an import file for a windows program, the file needs to have
...
Hi experts,
Explain me how to read data from an excel sheet in Perl.Please give me one sample script to how read data from excel sheet.
Thank's®ards,
Rakesh.
I have got an error when I run my Perl script in Windows XP. why? Where can I get that package?
C:\Web Server\foa_netmgmt\device>generate_report.pl
Can't locate DBD/mysql.pm in @INC (@INC ...
I may have found a bug in date::manip version 5.54 where the business time function returns an incorrect value.
I have changed the configuration in (I only have one)
/usr/lib/perl5/vendo...
Hi All
I use this script to print out a HTML table in Ascending order left to right top to bottom.
#!/usr/bin/perl
use strict;
my @Array = qw(Allendale Cragmere Alpine Arcola Dar...
($seconds,$minutes,$hours,$dayOfMonth,$month,$year,$dayOfWeek,$julDay,$isDST) = localtime();
I need to locate the current numerical day of year and subtract one and then convert it back to ...
How to use Net:Perl:SSH2 module in perl. Can any body explain me with small example like by taking consideration that we have to connect to one IP and execute the commands at that ip address.
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...
I'd be interested to see a whereis type program written in Perl. Whereis - as in - whereis 'this' file along my PC's path.
I've written various version in Ruby, PHP C, Java etc, and would ...
Using below snippet - is there a way to retrieve the size of the file and print in the below line:
print "$dir/$_\n" if (/\.exe/
Snippet:
$BASEDIR = "\\\\remote/path/basedirectory/"...
Does anyone have an algorithm for generating a shuffled array of arrays with these requirements:
There is a fixed number of different IDs in the array below. In this case, 52.
The IDs t...
Hi,
I have a string in perl which looks like this:
my $d_string = "one two three four five\n";
or this:
my $d_string = "one two\n";
or this:
my $d_string = "one two three four five six s...