1,633 Topics

Member Avatar for
Member Avatar for Dani

I am doing a perl project for school in which I am using CGI.pm. I am a complete perl novice. With the following: [code] use CGI; $query = new CGI; print $query->startform({-action => "foo.cgi", -method => "post"}); print $query->p($query->textfield({-name => "bar"})); print $query->submit({-name => "action", -value => "submit"}); print $query->endform(); …

Member Avatar for Dani
0
224
Member Avatar for mforeman

Hi all, I am trying to list out a bus as individual names. For instance - When I come across a section in a file that lists a bus like this: <busname>[0:2] I would like to print out this: <busname>[0] <busname>[1] <busname>[2] Here is what I have - It goes …

Member Avatar for Rashakil Fol
0
150
Member Avatar for satimis

Hi folks, I'm prepared to write a simple perl scripts as follow There are 25 commands executed in following sequence[code]export LFS=/mnt/lfs mount /dev/hda6 /mnt/lfs mkdir -p $LFS echo $LFS /mnt/lfs (output) /usr/sbin/chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h mknod -m 600 /dev/console c 5 1 …

Member Avatar for mforeman
0
184
Member Avatar for evilbenking

you guys ready for this, this is the worlds bigest problem, i will be super happy if you can help me here is some code i have for a countdown script " #!/usr/bin/perl ############################################################################## # Define Variables # @from_date = (yyyy,mm,dd,hh,mm,ss); # Which means: (year,month,day,hour,minute,second) @from_date = (2006,2,15,00,00,XX); # Done …

Member Avatar for chrisbliss18
0
204
Member Avatar for servertune

If you are really really good in Perl/cgi programming, please respond to this note, or send us a message: [B]customerservice ((at)) servertune.com[/B].

0
65
Member Avatar for eachowcc

Ok. I am trying to write a perl program to automate installation of certain softwares (as root) on a linux machine. I want my perl program to call an installation script and provide parameters to that script such that I do not have to enter 'yes', 'no', 'continue', create directory?', …

Member Avatar for Comatose
0
313
Member Avatar for Shon05

:?: [COLOR=Navy]In this assignment I am to Design an HTML form that includes(at least) the following components:[/COLOR] *Customer ID *Total purchase amount *Submit button *Reset Button Explaination of program: The company uncfsu.edu wants to increase it's online sale. They have a promotion. If a customer has purchased at least $100.00 …

Member Avatar for Shon05
0
107
Member Avatar for Faile

I'm struggling with a CGI/Perl class. I would like to get a tutor and keep in touch through e-mail. I do **NOT** want someone to do my homework for me, but simply to answer any questions that I have. We do not have tests in this class, only labs and …

Member Avatar for Comatose
0
128
Member Avatar for evilbenking

i need a perl code that will take a the input form my 1 question form (name) and print it on a new line with <br> after it in a text file (submit.txt) please can someone either write one up for me as simple as is posible or somthing, o …

Member Avatar for evilbenking
0
151
Member Avatar for andrew23chan

Hi I got this error and i can't figured it out. Can't call method "EOF" on an undefined value at N:\web_site\insp\smmc\quality\queries\dts_add.pl line 102, <DTS> line 2. Thanks :cry:

Member Avatar for andrew23chan
0
136
Member Avatar for apcxpc

Hi all Sorry, I didn't know where to post my perl programming question. I'm having a problem creating objects in perl. I found a piece of code on the internet, that gives an example of classes and objects in perl. I modified it a little bit, and now have this …

Member Avatar for apcxpc
0
135
Member Avatar for mforeman

Hello, I’m trying to increment numbers in a file – for instance, I would like to change the below 3 lines in a file by incrementing the numbers by 2 (or whatever the user gives). Mikef<20:40> JoeyS<23> Samt<14:39> So the end results should look like this: Mikef<22:42> JoeyS<25> Samt<16:41> I …

Member Avatar for mforeman
0
157
Member Avatar for scotchfx

Greetings, I'm a former hardware guy (embedded C & C++ experience mainly) trying to get up to speed with Java and Perl for a set of graduate courses. I've written up a Perl script that simulates a scheduling algorithm, the script consists of two primary loops the first to parse …

Member Avatar for andrew23chan
0
163
Member Avatar for 001

Hello, i am considering making a gui in perl, I want to find out if i shoould use perlqt or perltk. I am using Redhat 9 linux, and i would like to use graph tools and displays also , could anyone help me on how to start programming using such …

Member Avatar for kordaff
0
108
Member Avatar for sanny

We are heppy to announce you the new version of SannySoft Perl Editor - the leading IDE for Perl programming. You may get more information on [url]www.perleditor.net[/url]

0
65
Member Avatar for Shon05

I am a Computer Science and I am having a problem on writing this perl program for one of my classes. i haven't taken perl in about two years and do not remember how to set the syntax up or execute the program. Am I suppose to use C++? The …

Member Avatar for Shon05
0
141
Member Avatar for 001

Hello, I am using the parallel port module to access the parallel port. I just want to find out if i would need to do any extra thing to send data to a PCI parallel port since the address is different. 001

0
56
Member Avatar for sydneyrustle

Hi all, just need some help on my coding. I cant figure out what i'm doing wrong as far as i can see it should be working.... It s a very basic guestbook form and the cgi script seems to work but for some reason my reply page won't show …

Member Avatar for Rashakil Fol
0
1K
Member Avatar for nathanpacker

I'm looking for a script that will allow me to post a large amount of files to a folder on my website, and then have it generate an html page with a list of links to those files. Any ideas? I just have so many files, and don't wish to …

Member Avatar for nathanpacker
0
64
Member Avatar for shiq

Hello, I've a question: is it possible to pass a variable from perl script to HTML form. I want this variable $ztable value to be send to this form. <input name="dirname" size=15> its post method form. Thank you in advance.

Member Avatar for shiq
0
118
Member Avatar for thinkraj

hi all, I want a perl script which can execute applications remotely on machine if application is present els copy the application from any machine onto the target machine and then execute.. eg:I should be able to execute Msword present in one system onto an other system. Pls help me …

0
107
Member Avatar for edemko

hello I have a problem: I can't generate a html from a text file. :o There is a text file : one.txt (or dat or something else ) and I want to generate a html, called one.html or the name can be the first word in the text file. Please …

Member Avatar for bprakkmr
0
174
Member Avatar for evtimokn

Hi! I have a problem with perl, which is new for me: It says: [CODE]miniserv.pl: untie attempted while 1 inner references still exist at /opt/perl5/lib/5.8.6/IPC/Open3.pm line 204.[/CODE] How can I find out which variable is still hanging? The source hier is: [CODE]my $kid_rdr = gensym; my $kid_wtr = gensym; my …

0
64
Member Avatar for vidya

I want to know which command do u use to execute a .exe file from a server machine so that it gets installed on all the connected client machine using perl script.

Member Avatar for Rashakil Fol
0
411
Member Avatar for jennrenn2003

Hi there. Can anyone recognize a problem with this code? The page is not working and I can't figure it out. print "Content-Type: text/html\n\n"; print "<html>\n"; print "<body>\n"; print ("<br><H1>Welcome $0</H1><br>\n"); $sth=$dbh->prepare("update breeder set breed = '$p1', breeder_name = '$p2', county = '$p3', phone = '$p4' where id = '$p0'"); …

Member Avatar for jennrenn2003
0
77
Member Avatar for JEt3L

Hiya everyone. Just thought that maybe someone could help me out on this one. I'm making a client on perl using IO::Socket and it works for most of my apps. But i came upon a bit of a challenge here. Everything works fine. I'm sending the login packet to YCHT …

Member Avatar for JEt3L
0
249
Member Avatar for 001

Hello, I am newbie in perl. I am currently working on a project to access the parallel port of a pc in perl on a linux operating system. I really do not know where to start. Could anyone help me with useful links, books, resources..etc that could be of explicit …

Member Avatar for 001
0
185
Member Avatar for p1no

I'm trying to add copyright information to the top of XML files. However, it needs to go after the prologue: <?xml version="1.0"?> <!DOCTYPE ...> My problem is that some XML Documents have the <!DOCTYPE...> tag spread out over many lines and I need to add the copyright information after the …

Member Avatar for p1no
0
128
Member Avatar for nileshdalvi

I downloaded the "msi "version seeing that i was not able to install and run the "as" version from activestate.com.However i got an icon on the downloaded file as " open with " sign. So i gave it a winzip format as the "as" version was in that format.Then i …

Member Avatar for kordaff
0
212
Member Avatar for nileshdalvi

I am new to the perl language and had just started reading the book "Perl5 by example" by David Meddinets.However in the very first chapter he says that you need to try out the programs on a perl interpreter.I have w98 and have downloaded the asi version of 5.8.7 from …

Member Avatar for Comatose
0
189

The End.