Archive for the ‘perl’ Category
Friday, December 30th, 2011
I can't use JavaScript, so unfortunately no history.back(). Using $ENV{'HTTP_REFERER'} starts the program from first question. Using href I can pass a query string, but then the data isn't going to be submitted. Any help will be greatly appreciated .
Posted in perl | 1 Comment »
Saturday, December 17th, 2011
I have to design a PERL program for class but my professor isn't very good at explaining things.
the goal of the program: design a character counting program
If the input looks like this: black
the output: 5 black
I've googled this but haven't been able to find a simple explanation. Could someone help?
the ...
Posted in perl | 3 Comments »
Wednesday, December 14th, 2011
I wrote a Perl script to log into my telnet server and send the output to a text file, but I am getting a ton of weird characters within each sentence of output that I want to parse\take out. All I want to do is read in the text file ...
Posted in perl | 1 Comment »
Monday, November 14th, 2011
I need to make a perl program that adds three variables like x y z and then using those same variables the user inputted it then needs to subtract and multiply
so say i enter 3 4 5
add would be 12
multiplying would be 60 etc
I have made one but it doesn't ...
Posted in perl | 1 Comment »
Friday, November 11th, 2011
Dear all,
Does anyone have any ideas for project in Natural Language Processing using Active Perl.
I am beginner (I had never used this programming language), and need to do a small project (max 100 lines code).
Any suggestion (web site, or example) would be welcome.
Thank you!
Posted in perl | 3 Comments »
Saturday, October 29th, 2011
i want to insert string as value in hash table in perl can you tell me how plzzz?
Posted in perl | No Comments »
Tuesday, October 25th, 2011
I want to be able to send email using perl and use call to shellscript to make that email call from perl.
Posted in perl | 1 Comment »
Thursday, September 15th, 2011
Im trying to figure out if I should learn Perl or Ruby first. Can anyone give me some general info on the languages and tell my why they are suitable as a first language.
I am also thinking about python. It seems the easiest one to learn, but I wanna ...
Posted in perl | 1 Comment »
Thursday, September 8th, 2011
I have a binary file I want to open in perl, read byte by byte and print to the terminal. Any ideas?
I want the bytes printed as hex like this:
90 3C 00 FF 03 3F 5F 67
Posted in perl | No Comments »
Thursday, September 1st, 2011
I'm very new to Perl and learning what I can. One thing I haven't been able to find out is how to parse a file for a string of text and return a simple "true" or "false" if the string is found. I appreciate all your help!
While I believe Slurp ...
Posted in perl | 2 Comments »
Tuesday, August 30th, 2011
Looking for something that would strip html and reduce standard Y!A pages to a .csv file containing info regarding poster, time, question and answer for subsequent spreadsheet analysis.
Posted in perl | 2 Comments »
Monday, August 29th, 2011
I'm using substr in perl to add missing characters to a string.
ex.
substr($string, length($string), 23-length($string), ????)
After this, I need to add a character for each missing character, how would I do this? :x
For an example.
I enter the number 19563, but the length of the string needs to be at least 10 ...
Posted in perl | 1 Comment »
Sunday, August 28th, 2011
how to use/write perl script in linux copy file from windows?
I need to execute perl script from linux server copy a file from windows drive folder.
example like:
the file is located at c:\abcd\xyz.log
i need to copy this xyz.log to a linux/unixbase server directory /var/opt/abc/xyz.log by using perl script on linux/unix base ...
Posted in perl | 2 Comments »
Saturday, August 27th, 2011
I'm relatively new to perl and I'm confused a bit using cpan.org perl modules
the module description is long and confusing kinda
i can install them but not sure how to use them properly
can any one who is experienced in perl explain how to use a module inside a script with an ...
Posted in perl | 1 Comment »
Wednesday, August 24th, 2011
I want to access webpages using an automated script ie. perl or possibly batch. Does anyone know how to do this? I don't want to simply open a web page; I want to interact with it once I am there using the automated script.
Posted in perl | 2 Comments »
Friday, August 19th, 2011
Hi, here's a perl program.. I want it to output the current date to a folder name in a specific format... code as follows:
#!/usr/bin/env perl
use warnings;
use strict;
my($day, $month, $year) = (localtime)[3,4,5];
$month = sprintf '%02d',$month+1;
$day = sprintf '%02d',$day;
system('md "',$year+1900,'.',$month,'.',$day,'"');
It outputs a folder with spaces as:
" YYYY . MM ...
Posted in perl | 2 Comments »
Friday, August 19th, 2011
when ran perl application file a window opened with black background with no text in it. how can i compile the program from there?
Posted in perl | 2 Comments »
Tuesday, August 16th, 2011
Hello, I've been tasked to write a Perl Script (Programming language) to retrieve all the email address from the microsoft outlook 2007. The problem I'm facing is I don't even know how to do it. All the contacts are in group. Any help/website that can help me retrieve selected group ...
Posted in perl | 1 Comment »
Monday, August 15th, 2011
I am working on a Linux box and need to search through a directory and its contents using Perl script for "rcp", "rsh", and "rlogin".
Posted in perl | 2 Comments »
Thursday, August 11th, 2011
I don't understand how to get perl CGI set up so I can use it. I understand how to code with CGI scripts but I have no idea how to get it set up.
Please help!
thanks
Posted in perl | 1 Comment »