2,452 Topics

Member Avatar for
Member Avatar for tristan17

Hi, I am trying to change some setting in a script (perl) but i do not understand what does the following statemnet meant: [CODE]sub dirlog { $mypath = "/xxx/xxx/"; $logpath = "/xxx/xxx"; [COLOR=Red]$dirlogfile = "randomdir.log";[/COLOR] $interval = "0"; # The days that the random dir will be kept; @tmpoutput = …

Member Avatar for tristan17
0
94
Member Avatar for tristan17

Hi, I admit i'm a complete newbie in perl although i have been invloved in php : ) hope somebody can help me out with this I want to run a simple perl scrip : [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; $request_method=$ENV{'REQUEST_METHOD'}; print "request method:",$request_method,"<br>"; print "O.K.!";[/CODE] but it shows this error …

Member Avatar for tristan17
0
93
Member Avatar for Jerchrome

i regularly go on this site called [url]www.asiantown.net[/url] but whenever i try to log on it shows a blank page with some writting on the side. Ivre reinstalled java program and even used the an old version but it still shows me a blank page. When i right click and …

Member Avatar for jwenting
0
86
Member Avatar for mforeman

Hi, I would like to gather two types of information and put into an array. For instance, I have a file with 4 lines of info for each entry - I want to get the name and occupation only for each entry. How can I get just the name and …

Member Avatar for mforeman
0
111
Member Avatar for carabs

I was under the impression that placing an alarm(x) statement by itself would kill out my script after x amount seconds. It does not seem to work on one server I run my scripts on. I am not 100% sure on the server specs, but I believe it's an old …

Member Avatar for jim mcnamara
0
115
Member Avatar for fero45

Hi How do I extract individual images out of a PDF file and save them as jpg in PERL? Thanks

Member Avatar for kevincar
0
132
Member Avatar for thorne44

Hi, I'm currently writing a routine to extract one, two and three word phrases from a string but with two or three word phrases I'm not getting all the phrases. For example the string "blah blah blah" will show one ocurance of "blah blah" when really there is two. My …

Member Avatar for thorne44
0
101
Member Avatar for josboh

Hi...new here just looking for some help. Im sure the answer is simple...but i cant figure it out. In a nutshell, when I go to open Internet Explorer on my main computer it shows this page: "Index of / and then Parent Directory 22-Sep-2004 " this page comes up when …

Member Avatar for etechsupport
0
150
Member Avatar for c#bird

Hi, I want to know how to call a perl script in C# app and how to communicate between the app and this script. for example, how does the C# app know if the perl script has finished running? could the app get the return code from the perl script? …

Member Avatar for str_kani
0
925
Member Avatar for moznmar

I'm starting to pull my hair out. I'm pretty new to C++, and am trying to fix a loop I have in my code. I have not been able to give the user a way to exit the program unless he/she correctly anwers the multiplication question this program asks. I'm …

Member Avatar for moznmar
0
112
Member Avatar for rpuskarcik

I would like to create a perl script which serves up an html page. Only one perameter needs to be passed to the script: something like [url]http://www.website.com/page.htlm?1234[/url] When a person types the above in their browser, they get a webpage. By typing in a differant number at the end, they …

Member Avatar for rpuskarcik
0
126
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 raj_mangoli
0
193
Member Avatar for chrisbliss18

I recently had a brief back and forth with nizzy1115 about IDE channel sharing and how to set up drives on the channels for maximum performance. Since there isn't a "right answer", I was curious what everyone's take was. My opinion is that harddrives are used more often than optical …

Member Avatar for Coconut Monkey
0
105
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
225
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
151
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
185
Member Avatar for bennieblanco

This is what I need [url]http://www.vital-ic.com/index.php?page=part&PHPSESSID=6b1baaeb7d9e4d26bdda4faa5265b7f6[/url] in the field enter xc2v and click on the arrow image for search once result comes back you will see part# links If you click any of the links it will enter the part# in to a form field How can I make mysq …

Member Avatar for Phaelax
0
116
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
205
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 Old Dominion

While surfing the net my pages show hyperlinks that go directly to a search window linked to [url]www.lightspeedsearch.net[/url]. These hyperlinks are also posted on my personal internet page ([url]www.olddominiondairygoats.com[/url]) which show up on computers that don't have the same hyperlink problems on other web sites. How do I get rid …

Member Avatar for swatkat
0
125
Member Avatar for TURLOCK

Hi Everyone Can anyone help me out with a small problem please. Clicking a hyperlink in Outlook Express does not work; I have to cut and paste the link to my browser. This problem is also occuring in document folders. Do not have any problem with my browser or web …

Member Avatar for TURLOCK
0
182
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
129
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
152
Member Avatar for carlco9020

Hi, I have a two frame page and I would like to click one of my buttons on the top frame and make the page open in the bottom frame. When I go to make my hyperlink the bottom frame is not present in the Target box? How do i …

Member Avatar for zippee
0
96
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
145
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
137
Member Avatar for GerryD

I have a pc100 Parkard Bell when I removed 128mb dimm it stated pc133 so purchased and installed 2x256mb dimms but system is only showing them as 2x128mb Ihave tryed flashing bios with both updates from Parkard Bell but no difference can anybody suggest anything that won't incur further costs

Member Avatar for GerryD
0
201
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
159

The End.