- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 35
- Posts with Upvotes
- 29
- Upvoting Members
- 13
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Working with Perl for over 15 years.
- PC Specs
- Working on Windows now (dang!)
It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script: use Win32::IEAutomation; my $ie = Win32::IEAutomation->new( visible … |
|
Hello, I found a PERL script in my root directory (public_html) and I have no idea who uploaded it and how. I know this itself is a concern to me but what I really need to know is what this script can do in worst case scenario. It was on … |
|
source.txt Name|Address Ram|USA Geeta|India I want to read this file into hash or map The coulum headers should be stored as keys, and when i call the key it should say me Ram and whn i call Address as key it should say USA Please let me know how can … |
|
Hi all, I'm sure this is a simple problem, but hopefully someone will be able to help. I'm trying to connect to mysql through perl, however when I use the command [CODE]use Mysql;[/CODE] it is giving me an error. I am assuming it is probably something to do with the … |
|
Hello, I need help to write a perl script for read a data from Mysql Database using mysql query and write it into excel sheet.. Can you help me....? |
|
Hello there, I installed [URL="http://www.activestate.com/activeperl"]ActivePerl[/URL] (I kept all default settings) and also downloaded [URL="http://search.cpan.org/~srezic/Tk-804.028/"]Tk 804.028[/URL] and extracted it to C:\Tk-804.029. I'm wondering why I keep on receiving this error whenever I run this simple script on my command prompt window (I'm using Windows XP Pro). [QUOTE]Can’t locate Tk.pm in @INC … |
|
i am writing a login script in a perl and i set a cookie. here it is: [CODE] if ($V::testsubmit eq 'yes') { ($userid)=$dbh->selectrow_array("SELECT id from logins WHERE username='$V::username' and password='$V::password'"); } if ($userid > 0){ @alphanumeric = ('a'..'z', 'A'..'Z', 0..9); $sessionid = join '', map $alphanumeric[rand @alphanumeric], 0..50; print<<"EOF"; … |
|
what is this variable: [CODE]$/[/CODE] |
|
How can I turn on debug for fucntion sendSMTP ?? What is the function for var $debug ??? [CODE] #!/usr/bin/perl -w use Socket; use strict; my($mailTo) = 'chuikingman@yahoo.com.hk'; my($mailServer) = 'mail.hgcbroadband.com'; my($mailFrom) = 'medined@mtolive.com'; my($realName) = "chuikingman"; my($subject) = 'Test send_mail'; my($body) = "Test Line One.\nTest Line Two.\n"; $main::SIG{'INT'} = … |
|
I am stuck in program which need to build a hash of unknown number of keys which we will enter or give. If there would be a push function we can make loop and increase its size.But how will be it possible with hash. |
|
Hi Friends, I got an ASN.1 file .I need to convert it to readable format.is there any way. Thanks in advance, Deepak |
|
Hi, I have the LOGIN page, with the username and the password. By logging in, the users can view their information and they can submit their jobs. When the user click LOGOUT link, the page moves to main INDEX PAGE(i.e LOGIN page). The problem is it, when the user click … |
|
hello, I am new in perl..i am just trying to connect perl with mysql database. for this i installed xampp server in my system..and now perl,apache and mysql are running on my system. i also check server by running cgi program on it.. evrything is right.but i dont know why … |
|
hi i m abhi i have one file containing some info like LT19-10-13-400922 --TID1-3039 1--RequestREGISTER LT19-10-13-405432 --TID1-3039 1--Response100 LT19-10-13-410015 --TID1-3039 1--Response401 LT19-10-13-415481 --TID1-3039 2--RequestREGISTER LT19-10-13-419800 --TID1-3039 2--Response100 where LT19-10-13-400922 is log time ,,i.e. 19 hr. 10 min. 13 seconds 400922 usec. and i want this to convert only in second … |
|
Hi everyone. I want to create a crawler with perl and run it on crowntab. The program should use DBI and DBD::Oracle to insert data into my database. When crontab runs it, I get the following error in my mail box. Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open … |
|
for ($i=0;$i<=$SIZE;$i++) { $_=$LINES[$i]; if (........... need to know how to ask if a line contains <!--addsearch--> AND more than two " speech quotes Hope you can help Marko |
|
Hi I am a PERL novice. Currently dealing with a problem and wondering whether it can be solved using PERL? I got a folder containing a number of text files. Every time a file is created a timestamp is added at the end followed by an "_". for example "apple_20101210091255.txt". … |
|
Hi All, I have a small problem that I am trying to solve...It regards storing string values in an array and outputting them to a .csv file. As you know the .csv file accepts inputs delimeted by commas ",", however the arrayed values are also delimeted by commas therefore $arr[$i]="1,2,3"; … |
|
I was wondering if there is a global matching flag, considering there is a global replacement flag (/g) I'm using this workaround to make multiple matches in a string [CODE] while(!$stop_var) { if($source =~ /(PATTERN)/i) { push(@matches, $1); $source = $'; } else { $stop_var =1; } } [/CODE] is … |
|
Which is the best way to make a plataform-independent perl app, I tried Perl Packer but it seems it wont work on windows, I don't want to use activestate? what are my alternatives? |
|
HELP Please - I have hit a wall in trying to get the following perl created web page to work correctly. It is designed to find all the pictures (.jpg) in all folders below the designated one and to then display them in individual slideshows. I have a version of … |
|
I can't resolve a question.write a stucture in html that can call a perl script.please help. |
|
I have no good regex experience -- its all pretty new and confusing to me. I understand some of the VERY basics, but to do what im looking for...is way past me! I have the following text i would like to parse, pulling out the highlighted section everytime. Unknown Trap … |
|
Hello, I would like to know if I need to use a regular expression to match the desired substring in order to print out 10 characters of the start codon ATG. My dna sequence is "CATAGAGATA" Thanks for any advice. |
|
How can I print some numbers during a loop for example I have a while loop, and while the loop is running i want to print the numbers of times the loop has been repeated. |
|
I am starting to learn Perl and I have coded few tools (converters, calculators, etc.) to get some practice, I easily included these tools into my website just changing the extension .pl to .cgi and adding this line: [CODE]print "content-type: text/html \n\n";[/CODE] so..when should I start using catalyst and why? … |
|
Perl/apache if we run the Perl script on apache for display the result of Linux command it is not able to execute the Linux command and not display it into the browser. eg. We want to display the result of "ping" command but not able to identify what is the … |
|
I have been coding in Perl without using "my" before the variable name.. when should I use MY and why? |
|
Hi All, I am getting the following error below when running my CGI script. I have went through the code but can't seem to sift where exactly it is saying on each of the respective lines. For the error on line 65 is it because I have a localized variable … |