1,633 Topics
|
|
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(); … |
|
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 … |
|
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 … |
|
|
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 … |
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]. |
|
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?', … |
|
:?: [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 … |
|
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 … |
|
|
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 … |
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: |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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] |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
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. |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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'"); … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
The End.