Posts
 
Reputation
Joined
Last Seen
Ranked #180
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
41
Posts with Upvotes
37
Upvoting Members
29
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
3
35 Commented Posts
~101.61K People Reached
Favorite Tags
Member Avatar for pjrey

is it possible to update a portion of our website via email (if a blank email is sent, the dhtml window will be hidden) if an email with text is sent, it will show the box, saying NEWS and a border, with the text sent via email inside... when you …

Member Avatar for clickmind
-1
1K
Member Avatar for Narayanank

i have got xampp1.6.8 when i run this program in localhost #!"C:\xampp\perl\bin\perl.exe" print "Content-type: text/html\n\n"; print '<html>'; print '<head>'; print '<meta name="author" content="Kay Vogelgesang">'; print '<link href="/xampp/xampp.css" rel="stylesheet" type="text/css">'; print '</head>'; print "<body>&nbsp;<p><h1>Sairam with MiniPerl</h1>"; print "CGI with MiniPerl is ready ...</body></html>"; it runs but when it contains perl scripts …

Member Avatar for srija.divakar
0
451
Member Avatar for KevinADC
Member Avatar for typomaniac101

I have searched tutorials, etc., on the subject of using flock but it seems like nothing gives a straight answer. I have a script for a guestbook which will allow users to upload photos. Everything goes to a MySQL database with the exception of the image which will go into …

Member Avatar for semontuffel
0
160
Member Avatar for Newten

I am trying to write a script to grab images from my CCD camera. I can already do this with C++ usung VFW and OpenGL, but I want to find a way to do it with Perl. It needs to be able to run on windows though. I am pretty …

Member Avatar for vikitech
0
198
Member Avatar for srvinu

Hi, I have one perl script for comparing two text file entries. But its not working according to my expectation. Its comparing line by line, not like comparing one entry to the complete file. I like the script to be compare all the entries irrespective of line by line comparison. …

Member Avatar for cod3r
0
661
Member Avatar for grr

Here's my current code: /[\w\s]+/ I'm trying to make the following characters match: [CODE] Q W E R T Y U I O P A S D F G H J K L Z X C V B N M q w e r t y u i o p …

Member Avatar for YoussefUSF
0
196
Member Avatar for chandrag

Hi all. Can i open the web page through perl? I get URL as a result in my perl code. but, ofcourse, it is displayed in command prompt as i'm using windows. I need that web page to be displayed directly. can i do it? i hope somebody can help …

Member Avatar for creativesuri
0
677
Member Avatar for brax4444

Hello all, I'm trying to read in an entire tab-delimited files with the following data layout: File Title Line is always at the top. DataName1 DataNam2 DataName3 12345 123.4 12.456 9876 987.65 45678 There may be any number of rows and columns after the title line. I want to read …

Member Avatar for voidyman
0
465
Member Avatar for bhavna_816

When we click on the Hyperlink of subject a new HTML Page should be pop up and shows the body of the mail. I have written two perl codes first is for displaying the page with folders with subject another perl code having function to show the body.How can I …

Member Avatar for hsincredible
0
370
Member Avatar for orwell84

I am relatively new to perl, and I'm having a problem with loops. I'm trying to get a program for a simple number guessing game to repeat itself until you get the right number. Here is the code: [code] #!/usr/bin/perl -w $thinkingof = int(rand 10); print "Pick a number 0 …

Member Avatar for mdawg252
0
824
Member Avatar for FoX_

Hi all; I've to update a record for my hw.I'm trying to use seek function but when I use it, new information(phone number) is being written at the end of file... Here is the function that I've tried... Assume that the file's content like below and the input is : …

Member Avatar for boshu
0
217
Member Avatar for KevinADC

A bare-bones code snippet to remove duplicate lines from a file. There are a number of ways to accomplish this task but this is a fast and dependable method using perls inplace editor and a simple hash to get the job done. This probably should not be used for really …

Member Avatar for sensamurai
1
1K
Member Avatar for NevadaSam

Replacing a field separator during a read. I want to replace a pipe symbol (|) field seperator with a tab when I print the contents of records in a file. This is my text file:[quote]Jeremiah Stein|LW89W|1|U Patty Smith|JJ12R|2|W[/quote] The cgi script I wrote will read it and print it out …

Member Avatar for d5e5
0
377
Member Avatar for kahaj

I'm trying to perl -w the following: [code] #bonus.cgi - calculates a bonus amount and rcreates a dynamic web page which contains form data & a bonus amount print "Content-type: text/html\n\n"; use CGI qw(:standard); #prevent Perl from creating undeclared variables use strict; #declare variables my ($name, $sales, $rate, $bonus); #assign …

Member Avatar for d5e5
0
331
Member Avatar for Akase

Hi I'm new to Perl language and I have this assignment which is killing me, CAN SOMEONE HELP ME PLEASE. Below is the question: You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, …

Member Avatar for penfold58
0
415
Member Avatar for thego!team

Hi, If it's not too much trouble I would appreciate some help with this - how can I iterate through multiple files in the current directory, opening one after another? For example all files with a name matching students_*.html format. I'm not concerned with files contained in sub-directories. I've searched …

Member Avatar for raul15791
0
499
Member Avatar for ramagiri

HI, I would like to know, what are all the scenarios under which perl is used for software testing... this will be useful to me :!:

Member Avatar for testuser_forum
0
92
Member Avatar for kishore5001

Hi everyone I want to know what is __END__ mean , is this the end of the file. For what this is used in PERL? Thanks

Member Avatar for afbach
0
1K
Member Avatar for bradleykirby

Hi, new to Perl. Learning regular expressions. Im trying to validate a form field using regular expressions. Field criteria is: - Begin with a letter - 4-8 characters long - must include at least 1 digit So far Ive got: [code] $fieldValid=$username=~/^\D\w{3,7}\d+/; [/code] I read this as "beginning with any …

Member Avatar for peter_budo
0
330
Member Avatar for pjrey

hello, i use a simple log script on my site.. very basic.. i would like to modify it, and am having issues.. here is what i would like... i would like to be able to have it filter out certian HOST names.. but not exact.. say for instance, i dont …

Member Avatar for pjrey
0
265
Member Avatar for chandrag

hi, I am new to perl. actually, i'm using perl with SOAP::Lite to access a web server. I wrote some code in a notepad and saved it in c:/perl/eg. by typing 'perl filename.txt' after changing the directory into c/perl/eg> in command prompt, i am getting the result what i want. …

Member Avatar for dangidipu
0
908
Member Avatar for Davo1977

PERL Tutor Marked Assignemt 10 Section 2 - Part B You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, the program should check if an argument has been provided. If not, the program …

Member Avatar for d5e5
-1
237
Member Avatar for KevinADC

This is a bare-bones search and replace script that uses perls in-place editor and the File::Find module to get the job done quickly. It will search in all sub directories of the start directory and find and replace the text you specify in the type of file you specify. Keep …

Member Avatar for roswell1329
0
231
Member Avatar for samaru

Dani, I think you need to create a sticky post of guidelines before posting. Maybe have it on every forum. This is for the people that put up homework assignments (or any other type for that matter) and want a quick answer without even trying. This forum is about learning, …

Member Avatar for happygeek
0
2K
Member Avatar for KevinADC

Code snippet to generate random passwords. Avoids using confusing characters such as lower case L (l) and the number one (1), the letter 'O' and the number zero. Upper-case alpha characters could be added to the character set if mixed-case passwords are desired.

Member Avatar for Prakash_8111
-1
420
Member Avatar for Prakash_8111

Hi Guys, Can any one suggest to generate a random number of eight digit. All suggestions are welcomed :)

Member Avatar for KevinADC
-1
106
Member Avatar for KevinADC

This code snippet will produce strings of numbers (1 thru 49) with no repeated numbers in the same string and no duplicated string of numbers in the list of strings. To change the range of numbers the script generates change 49 in the code to your requirements. Please feel free …

Member Avatar for KevinADC
0
618
Member Avatar for Kelicula

Ever had to fix auto-generated dates retrieved from MySql databases? I made a really quick fix that displays the date in "human readable" format. Just replace "CST" with GMT, or EST etc... Whatever time zone your mysql server is located. it takes one argument, the date from the database. [B]Usage:[/B] …

Member Avatar for Kelicula
0
213
Member Avatar for Kelicula

[B]Situation:[/B] Ever wanted to get the size of an image? Possibly to determine new height and width dimensions that DO NOT distort the proportion. Well I have, and I overcame the math like so. [B]Solution:[/B] First you must decide on an image width. The subroutine returns the proportional height equivalent. …

Member Avatar for Kelicula
0
162