Doubt in the perl module Storable.pm

2001-07-11 Thread Rajanikanth Dandamudi
Hello, I had got a doubt about the perl module Storable.pm . Incase someone is not aware of what Storable.pm is please enter the following command( on aunix machine)at the command prompt. Command to be entered is "perldoc Storable.pm" (with out quot

Re: Regrex - ignoring the boundaries

2001-07-11 Thread Rajeev Rumale
Thanks. For the main problem, and also for the unforeseen onces :-) with regards Rajeev Rumale ___ Yesterday is history. Tomorrow a mystery. Today is a gift. That's why it's called Present.

Re: How do I set @INC?

2001-07-11 Thread Dave Hoover
Michael wrote: > I have a couple of PERL installations on my system. How do I point perl at > the correct set of modules? I tried setting @INC inline in my program, but > that did not work. You can use the path the Perl installation you want to use in your shebang. Here's an example: #!/apps/p

Re: regexp and reading lines

2001-07-11 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "FIEDRICH,JAMIE (HP-USA,ex1)" whispered: | I have a text file in which I want to find a specific string - call it a | heading. Once I've found the string (heading), I want to stuff the next | line (content) into a variable. Something like this would work f

Re: Regrex - ignoring the boundaries

2001-07-11 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Rajeev Rumale" <[EMAIL PROTECTED]> whi spered: | I am attaching both perl code and html file(zipped together). Please check | out and let me | know where I am wrong. In the future, please don't use attachments (especially binary formats like zip) for this

Re: I need to "touch" a binary file

2001-07-11 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Bob Bondi" <[EMAIL PROTECTED]> w hispered: | So, simple on Unix/Linux! Are there any solutions via Perl to "touch" a | binary file? Unix doesn't differentiate between different types of files. They are all just files. Perl is the same way. Do you want to

Regrex - ignoring the boundaries

2001-07-11 Thread Rajeev Rumale
Greetings ! I am having a some difficulaties in matching and extracting a part of strings. I need to load a HTML file into a scalar variable and then extract certain part of the it which is "marked" ( ie., %%row_start%%% and %%row_end%% ). The problems is with the "\n" at end of each line in t

Re: PRELOADING IMAGES FOR A WEB SITE

2001-07-11 Thread Akshay Arora
you can use perl to generate lots of javascript (if you have sequential images, and lots of them). Perl however is never seen by the browser. JavaScript however manipulates the content of a web-page after it has been loaded (and even while being loaded). enjoy the perils of using as many languag

Re: regexp and reading lines

2001-07-11 Thread Akshay Arora
Is all of this in one string or is being read in from a file? Do you have an example of what this text might look like? Now, comments. What you want to look for is the consistent differences between the two, and just break the line there. If there are multiple "heading" and "contents" within one

Re: HTML and PERL Queries

2001-07-11 Thread Richard
Hi there - I'm on both both perl lists so I'll save you repost To call a script from a webpage you just have to link to that script with the anchor tag eg: link here this will call the script to pass variables into the script you can use web forms eg: the cgi script at the other end sho

Re: Is there an alternative to CGI ???

2001-07-11 Thread Akshay Arora
let me redine...ASP using VB Akshay Arora wrote: > > ASP, personally, i can't stand it. Doing is now, and it's a pain. > > Perl, is great CGI, is OK. mod_perl, thank you for everthing. > > I suggest that you read into HTML::Embperl. It also supports inheritance > within a given web-directory (

Re: Is there an alternative to CGI ???

2001-07-11 Thread Akshay Arora
I add to PHP: [+ $var +] works fine in Embedded Perl Jon Farmer wrote: > > > > > Personaly, i like ASP for the fact you can do <%=$var%> > > instead of php's > print $var; ?> > > > > > > Works fine in PHP > > Regards > > Jon -- http://www.5vs1.com - A Pearl Jam Fan Site "Only when the la

Re: Is there an alternative to CGI ???

2001-07-11 Thread Akshay Arora
ASP, personally, i can't stand it. Doing is now, and it's a pain. Perl, is great CGI, is OK. mod_perl, thank you for everthing. I suggest that you read into HTML::Embperl. It also supports inheritance within a given web-directory (apache confiuration). It lets you "insert" Perl directly into you

Re: PERL/Linux

2001-07-11 Thread Akshay Arora
Off the top of my head I can't think of anything better than system calls, and my books are at work, but you could simply use another system command: $who = `whoami`; $finger = `finger $who`; now, if that account has multiple logins, or multiple users using the same account (tsk on them) you will

Re: I need to "touch" a binary file

2001-07-11 Thread Steve Mayer
Bob, perldoc -f binmode Steve On Wed, Jul 11, 2001 at 05:26:49PM -0700, Bob Bondi wrote: > So, simple on Unix/Linux! Are there any solutions via Perl to "touch" a > binary file? = Steve Mayer Oracle Corpo

I need to "touch" a binary file

2001-07-11 Thread Bob Bondi
So, simple on Unix/Linux! Are there any solutions via Perl to "touch" a binary file?

Re: How do I set @INC?

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 02:54:34PM -0700, Michael Dube wrote: > I have a couple of PERL installations on my system. How do I point perl at > the correct set of modules? I tried setting @INC inline in my program, but > that did not work. use lib, set @INC (it does actually work, you're probably

Re: automatic FTP not using NET:FTP module

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 10:20:58AM -0700, [EMAIL PROTECTED] wrote: > I have to automate ftp process using perl or shell scripts. At the moment I > cannot install NET:FTP class. So any pointers for me on how do this. Why can't you install Net::FTP? Really, it's the best solution to speaking FTP i

automatic FTP not using NET:FTP module

2001-07-11 Thread srinivas . s
Hi, I have to automate ftp process using perl or shell scripts. At the moment I cannot install NET:FTP class. So any pointers for me on how do this. thanks, vas ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/

regexp and reading lines

2001-07-11 Thread FIEDRICH,JAMIE (HP-USA,ex1)
I have a text file in which I want to find a specific string - call it a heading. Once I've found the string (heading), I want to stuff the next line (content) into a variable. What is the most effective way to do this? Thanks in advance, Jamie

statistical analysis by perl

2001-07-11 Thread Chihiro Kanehira
Hi, all. I have written several perl programs for statistical analyses such as logistic regression and Cox regression. When comparing the results of my programs and those of SAS, SPSS and R using the same data in text books to validate my programs, I found the results were just the same in nearly a

Re: How do I set @INC?

2001-07-11 Thread Kevin Meltzer
Hi Michael, On Wed, Jul 11, 2001 at 02:54:34PM -0700, Michael Dube ([EMAIL PROTECTED]) spew-ed forth: > I have a couple of PERL installations on my system. How do I point perl at > the correct set of modules? I tried setting @INC inline in my program, but > that did not work. To do this withi

statistic analysis by perl

2001-07-11 Thread Chihiro Kanehira
Hi, all. I have written several perl programs for statistical analyses such as logistic regression and Cox regression. When comparing the results of my programs and those of SAS, SPSS and R using the same data in text books to validate my programs, I found the results were just the same in nearly a

Re: How do I set @INC?

2001-07-11 Thread Jos I. Boumans
if you want to permanently set @INC, you'll need to reinstall perl most likely however, you *can* tell scripts where to find modules by using this syntax at the top of your script: use lib qw( /foo/bar/bleh/ /yada/quux/ ); this will tell perl to also look for modules in the above 2 directories

How do I set @INC?

2001-07-11 Thread Michael Dube
I have a couple of PERL installations on my system. How do I point perl at the correct set of modules? I tried setting @INC inline in my program, but that did not work. Thanks, Mike

Re: Simple question about "whiles" and files...

2001-07-11 Thread Jos I. Boumans
I think you mean d'oh ;-) http://www.snpp.com/guides/lisa-2.html#Q16 which is in the OED btw: http://europe.cnn.com/2001/WORLD/europe/06/14/english.newwords/index.html ;-) > d-oh > > --- Guilherme Pinto <[EMAIL PROTECTED]> wrote: > > > while ( and $_ =! /End of list/) > > > > I think you mea

Re: problem when I sh Configure to setup perl 5.00503.

2001-07-11 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Sam Park" <[EMAIL PROTECTED]> whis pered: | I'm having problem when I try to setup the perl5.00503. | | When I run sh Configure, it hangs at the system manual is in /usr/man/man1 | Here is error.. | | Congratulations, your kernel has secure setuid scripts!

Re: Simple question about "whiles" and files...

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 04:26:37PM -0300, Sebadamus wrote: > Does anybody knows why I cant make this to work as I want? :-) > > while ( and $_!=~/End of list/) while (defined($_ = <>) && !/End of list/) { There are various problems with your original: - while () is the only syntax that

RE: Simple question about "whiles" and files...

2001-07-11 Thread Mooney Christophe-CMOONEY1
actually, from what i understand, while () and while (<>) are special syntaxes. as soon as you add the &&, perl doesn't interpret it in the special way (ie. setting $_ to each line of the file) i usually do this: while (<>) { last if /End of list/; bla bla bla

Re: Simple question about "whiles" and files...

2001-07-11 Thread Brett W. McCoy
On Wed, 11 Jul 2001, Sebadamus wrote: > Does anybody knows why I cant make this to work as I want? :-) > > while ( and $_!=~/End of list/) > { > bla > bla > bla > } > > So, with this I want to process the file in until EOF, and each line > must be distinct than "/End of list/". So,

RE: Simple question about "whiles" and files...

2001-07-11 Thread Guilherme Pinto
d-oh > -Original Message- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 12:18 PM > To: Guilherme Pinto; 'Sebadamus'; [EMAIL PROTECTED] > Subject: RE: Simple question about "whiles" and files... > > > > --- Guilherme Pinto <[EMAIL PROTECTED]> wrote: > > while

RE: Simple question about "whiles" and files...

2001-07-11 Thread Paul
--- Guilherme Pinto <[EMAIL PROTECTED]> wrote: > while ( and $_ =! /End of list/) I think you mean !~ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

RE: Simple question about "whiles" and files...

2001-07-11 Thread Guilherme Pinto
while ( and $_ =! /End of list/) Try that... > -Original Message- > From: Sebadamus [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 12:27 PM > To: [EMAIL PROTECTED] > Subject: Simple question about "whiles" and files... > > > Does anybody knows why I cant make this to work

Simple question about "whiles" and files...

2001-07-11 Thread Sebadamus
Does anybody knows why I cant make this to work as I want? :-) while ( and $_!=~/End of list/) { bla bla bla } So, with this I want to process the file in until EOF, and each line must be distinct than "/End of list/". So, if it is EOF or the current line is that string... the WHI

problem when I sh Configure to setup perl 5.00503.

2001-07-11 Thread Sam Park
I'm having problem when I try to setup the perl5.00503. When I run sh Configure, it hangs at the system manual is in /usr/man/man1 Here is error.. Congratulations, your kernel has secure setuid scripts! No need to emulate SUID scripts since they are secure here. System manual is in /usr/man/ma

Re: FOLLOWUP Question: RE: Help: Searching an array question++

2001-07-11 Thread Paul
--- Bob Bondi <[EMAIL PROTECTED]> wrote: > Thanks for the feedback, everyone. > My goal for this script is to make "this.gif" and "that.gif" change > places in the file. I.E. > - > this.gif > that.gif > this.gif > - > > after running the script I would have >

Re: FOLLOWUP Question: RE: Help: Searching an array question++

2001-07-11 Thread Jeff 'japhy' Pinyan
On Jul 11, Bob Bondi said: >Thanks for the feedback, everyone. >My goal for this script is to make "this.gif" and "that.gif" change places >in the file. I.E. >- >this.gif >that.gif >this.gif >- > >after running the script I would have >- >that.gif >

RE: Strange system() behavior, on IRIX

2001-07-11 Thread saliminl
Thanks much. What about the nohup stuff? Do I need to nohup the script? Neema Salimi [EMAIL PROTECTED] >= Original Message From [EMAIL PROTECTED] = >On Jul 11, saliminl said: > >>added print statements before and after the system command to monitor >>progress, but they were not printed

Re: Strange system() behavior, on IRIX

2001-07-11 Thread Jeff 'japhy' Pinyan
On Jul 11, saliminl said: >added print statements before and after the system command to monitor >progress, but they were not printed until the very end (i.e. 4 runs of That's because you didn't print any newlines, and output to STDOUT is newline-buffered. Add $| = 1; before your loop, to t

FOLLOWUP Question: RE: Help: Searching an array question++

2001-07-11 Thread Bob Bondi
Thanks for the feedback, everyone. My goal for this script is to make "this.gif" and "that.gif" change places in the file. I.E. - this.gif that.gif this.gif - after running the script I would have - that.gif this.gif that.gif - usin

Strange system() behavior, on IRIX

2001-07-11 Thread saliminl
The intention of my script is to automate several runs of a program. It works fine. I added nice -20 to it to put it in the background, and it works fine. I added nohup to keep the command going during a logout (these can take many hours), and during the tests, it said, "outputing to nohup.ou

Re: delete array element

2001-07-11 Thread Paul
--- Pedro A Reche Gallardo <[EMAIL PROTECTED]> wrote: > Hi all, > Is it possible to delete an array element changing the array size at > the same time? > if I do $array[$i]= undef; the value is gone but the size of the > array remains the same?! see perldoc -f splice: splice ARRAY,OFFSET,LENGT

Re: multi element array question

2001-07-11 Thread Michael Fowler
On Tue, Jul 10, 2001 at 03:08:51PM -0700, Piet wrote: > Okay so I'm really new to perl but I've hacked together this program to > parse /etc/passwd and email the login's manager every month. Whenever I see "parsing /etc/passwd" my gut reaction is to tell the programmer to use setpwent and getpwen

delete array element

2001-07-11 Thread Pedro A Reche Gallardo
Hi all, Is it possible to delete an array element changing the array size at the same time? if I do $array[$i]= undef; the value is gone but the size of the array remains the same?! Cheers -- *** PEDRO a. RECHE gallardo, pH

Re: Log File move script revisited

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 10:49:25AM -0500, Tom Yarrish wrote: > However, on the production box, it doesn't (meaning if today is the 11th, > the log file will be 20010711.log, which is not what I want). Can anyone > give me some ideas on why this might be happening? I can't s

Re: Is there an alternative to CGI ???

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 03:45:05PM +0530, George S Pereira wrote: > My aim is to create a website using Perl for dynamically creating > the webpages. But I don't want to use CGI, because I read that since CGI > create a seperate connection for every user, it thereby uses more memory, > than

Re: Hi, what time() ^ $$ means?

2001-07-11 Thread Stephen P. Potter
Lightning flashed, thunder crashed and Erik W <[EMAIL PROTECTED]> whispered: | Thanks a lot, then what << means? | $$<<15 ??? It seems to me that you need to spend some time with a good beginners book, such as Randal's. Or, at least, the man pages. These questions are easily answered with a qui

Log File move script revisited

2001-07-11 Thread Tom Yarrish
s the 11th, the log file will be 20010711.log, which is not what I want). Can anyone give me some ideas on why this might be happening? Thanks, Tom (This is the script on the production box) #!/usr/bin/perl -w use strict; use File::Copy; # This section defines the different log

Re: Needs beginners cgi-perl mailing list

2001-07-11 Thread Teresa Raymond
Hi Rahul, Go to: http://lists.perl.org/showlist.cgi?name=beginners-cgi >Hello, >I want to know the references of mailing list for beginners CGI-PERL >programming. >Help!!! *** Teresa Raymond *** http://www.mariposanet.com *** [EMAIL PROTECTED]

Re: Why wont my REGEX match..

2001-07-11 Thread Eduard Grinvald
Actually, $1, $2, ... get reinitialized only if there is a match, so if the subsequent regexes didnt' match, he'd still have the original $2 __END__ =sincerely, eduard grinvald =email: [EMAIL PROTECTED] =icq: 114099136 =PGP: http://i5.nyu.edu/~eg344/pgp_public =cut - Original Message -

Re: Why wont my REGEX match..

2001-07-11 Thread Akshay Arora
There is nothing in $2, because every time you do a RegExp, all of those variables get initialized. You do a $opt =~ s/ //g; before you request $2 do the $value = $2 before that line, and you will be fine. -Akshay Hamish Whittal wrote: > > Hi All, > > I have the following lines from a config

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
never new that :) Stupid me for not trying it thanks! Pierre - Original Message - From: "Jon Farmer" <[EMAIL PROTECTED]> To: "'Pierre Smolarek'" <[EMAIL PROTECTED]>; "Kipp, James" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 3:14 PM Subject: RE: Is there a

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
/me thinks we should now stop this discussion as we have now covered this whole topic at least 3 times refer to my previous posts. As always kevin (not an attack at you), your right, but enough is enough with defining cgi in this thread :) Pierre - Original Message - From: "Kevin Melt

RE: Is there an alternative to CGI ???

2001-07-11 Thread Jon Farmer
> > Personaly, i like ASP for the fact you can do <%=$var%> > instead of php's print $var; ?> > Works fine in PHP Regards Jon

Re: PERL/Linux

2001-07-11 Thread Bill Pierson
My apologies - I use: $who = `whoami`; not $who = `who`; Thanks, --Bill - Original Message - From: "Simas Cepaitis" <[EMAIL PROTECTED]> To: "Bill Pierson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 9:33 AM Subject: Re: PERL/Linux Good day ;-) On Wed, J

Re: Is there an alternative to CGI ???

2001-07-11 Thread Kevin Meltzer
I'd like to clarify that CGI is Common Gateway Interface. It is not a language. You can write CGI with PHP, ASP, Perl, Python, shell, C, etc... So, no matter what you use to create dynamic pages, it is still CGI. mod_perl is a good suggestion, since you will have perl available to you in Apache,

RE: Is there an alternative to CGI ???

2001-07-11 Thread Kipp, James
OK, You win !! :-) > -Original Message- > From: Pierre Smolarek [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 9:22 AM > To: Kipp, James > Cc: [EMAIL PROTECTED] > Subject: Re: Is there an alternative to CGI ??? > > > ASP is a structure, not to dissimilar to PHP... whats th

Re: PERL/Linux

2001-07-11 Thread Simas Cepaitis
Good day ;-) On Wed, Jul 11, 2001 at 09:20:08AM -0400, Bill Pierson wrote: > Good morning, afternoon, or evening depending on when you read this. :o) > > To aid in system administration and to track whom is accessing my servers, I wrote a >little PERL script that is called from /etc/bashrc. As

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
ASP is a structure, not to dissimilar to PHP... whats there to hate about either? They both do the job, and get rid of the chores with ease (GET,POST,COOKIEs). Whats so hard about wrapping your code around <% %> or Personaly, i like ASP for the fact you can do <%=$var%> instead of php's VBASP

PERL/Linux

2001-07-11 Thread Bill Pierson
Good morning, afternoon, or evening depending on when you read this. :o) To aid in system administration and to track whom is accessing my servers, I wrote a little PERL script that is called from /etc/bashrc. As soon as someone logs in, the program gets the date and executes: $who = `who`; I

Re: Is there an alternative to CGI ???

2001-07-11 Thread Brett W. McCoy
On Wed, 11 Jul 2001, Pierre Smolarek wrote: > /me introduces you to mod_perl and Apache::ASP Not only that, but there are additional modules like Apache::Session and Apache::DBI that help cut down on the overhead as well. I like Mason myself for doing web application development, but Apache::AS

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
/me introduces you to mod_perl and Apache::ASP - Original Message - From: "Kipp, James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 2:03 PM Subject: RE: Is there an alternative to CGI ??? > Well there is ASP and PHP and cold fusion. > PHP is becoming qui

RE: Is there an alternative to CGI ???

2001-07-11 Thread Kipp, James
Well there is ASP and PHP and cold fusion. PHP is becoming quite popular you might want to check into fastCGI, check the apache web site for that > -Original Message- > From: George S Pereira [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 6:15 AM > To: Michael Fowler > Cc: [

Re: Why wont my REGEX match..

2001-07-11 Thread Brett W. McCoy
On Wed, 11 Jul 2001, Hamish Whittal wrote: > I have the following lines from a config file I am trying to read: > {wellfleet ASN} .1.3.6.1.4.1.18.3 > (agentType) .1.3.6.1.4.1.18.3.3.1.11 > (chassisType) .1.3.6.1.4.1.18.3.1.1.1 > > My code is

Re: open a file without knowing the full name

2001-07-11 Thread Håkan Edman
Jeff 'japhy' Pinyan wrote: > Second, you probably want to glob(): > > while (glob "xyz_*") { > open FILE, $_ or die "can't read "$_: $!"; > # do stuff with FILE > close FILE; > } > > Or use the magic of @ARGV: > > { > local @ARGV = glob "xyz_*"; > while (<>) { > #

Re: open a file without knowing the full name

2001-07-11 Thread Jeff 'japhy' Pinyan
On Jul 11, Håkan Edman said: >So basically my problem is how do you open a file with a 'wildcard' like >in my example? >ex. >open (INPUT, "xyz_\*") || die print "Couldn't open file...!\n"; First, * does not need to be backslashed in a string -- no need to be so paranoid about "special" c

Why wont my REGEX match..

2001-07-11 Thread Hamish Whittal
Hi All, I have the following lines from a config file I am trying to read: {wellfleet ASN} .1.3.6.1.4.1.18.3 (agentType) .1.3.6.1.4.1.18.3.3.1.11 (chassisType) .1.3.6.1.4.1.18.3.1.1.1 My code is: if ( $_ =~ /\{(.*)\}\s+(.*)/ ) {

open a file without knowing the full name

2001-07-11 Thread Håkan Edman
Hi! I have done a program that's saving data from different machines which I run from cron. If the program finds a difference from the the last run it will save the old file with a extension _. Now I'm making a web interface that should write the content of those files on a webpage... So basical

Re: syntax checking module

2001-07-11 Thread Brett W. McCoy
On Wed, 11 Jul 2001, Rizwan wrote: > I am looking for a module that checks the syntax of a perl script. the -c command-line option to Perl will check your syntax: perl -c

RE: Hi, what time() ^ $$ means?

2001-07-11 Thread Gary L. Armstrong
Trivially speaking, AIX goes past 32k PID numbers as well. I believe that v4r3 allows 32k open files per process as well. If anyone would care for detail (and why would you???) email me at [EMAIL PROTECTED] instead of the list so that I can look it up, and I can try to stay in topic. =) G. Armst

RE: CGI-PERL

2001-07-11 Thread John Edwards
You might want to look at the CGI.pm module. This should come installed with the standard build of perl. Docs for it can be found http://stein.cshl.org/WWW/software/CGI/ there. You could also subscribe to the beginners-cgi mailing list. Go to http://learn.perl.org details are there. HTH John

Re: Is there an alternative to CGI ???

2001-07-11 Thread George S Pereira
Michael, My aim is to create a website using Perl for dynamically creating the webpages. But I don't want to use CGI, because I read that since CGI create a seperate connection for every user, it thereby uses more memory, than say an ASP application. I don't mind using CGI, but i

CGI-PERL

2001-07-11 Thread Rahul Garg
Hello, Well, well I have to create web pages whish on receiving inputs and submission will perform various actions on files on web server. could u suggest which of the two approaches i should follow: 1. create pages in HTML and then call perlscripts. 2. only thru perl scripts. to my knowledge 2)

[OT] in my own defence (was RE: Is there an alternative to CGI ???)

2001-07-11 Thread Aaron Craig
A colleague just pointed out this link for me, and I may have accidentally gotten the correct definition for CGI in my generalization. At any rate, for those who are interested: http://cgi-spec.golux.com/draft-coar-cgi-v11-03-clean.html Aaron Craig Programming iSoftitler.com

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
Guys, we all know what he was trying to say, lets not pick on him for how he phrased it, after all, this is a beginners mailing list!!! We have defined what CGI is to perl time and time again. Now lets give him a straight answer without all the attitude. Is there an alternative to CGI, in a word

RE: loop

2001-07-11 Thread John Edwards
foreach $line(@newarray) { # Do stuff within the curly braces. $line holds the value of each element of the array in turn. # 1st iteration of loop it contains $newarray[0], 2nd it contains $newarray[1] etc, etc } Is this what you are after? John -Original Message- From:

RE: loop

2001-07-11 Thread Govinderjit Dhinsa
Is this possible, if not how can I go about doing this; while($line=<@newarray>){ I want to go about runnig a loop on @newarray, but I also need the varible to hold the @newarray! Thanks GD

Needs beginners cgi-perl mailing list

2001-07-11 Thread Rahul Garg
Hello, I want to know the references of mailing list for beginners CGI-PERL programming. Help!!!

Re: syntax checking module

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 12:21:10PM +0500, Rizwan wrote: > I am looking for a module that checks the syntax of a perl script. You don't need a module. Assuming your script is named "test.pl": > perl -wc test.pl if it complains, you have a compilation error, which includes syntax errors. I

Re: Is there an alternative to CGI ???

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 10:28:46AM +0200, Aaron Craig wrote: > You may be confusing your terms here. CGI (Common Gateway Interface) is a > general term that is used to describe the various methods used to > communicate between a host computer and a client through a network. There > are many l

Re: Is there an alternative to CGI ???

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 01:52:58PM +0530, George S Pereira wrote: > Using CGI as a bridge between Perl and the Internet has some > disadvantages, prominent is the increased use of memory. I'm not sure how you can say one of CGI's disadvantages is increased use of memory when you aren't com

RE: Is there an alternative to CGI ???

2001-07-11 Thread Aaron Craig
At 10:22 11.07.2001 +0100, John Edwards wrote: >If you're going to post to the list, get it right first time round or >prepare to be corrected by others on the list. No good complaining that >people are nitpicking your posts if there are fundamental errors in them. You have a point -- apologies f

Re: Visualizing of data (Diagram)

2001-07-11 Thread Jos I. Boumans
You might want to take a look at GraphViz http://search.cpan.org/search?mode=module&query=graphviz hth Jos Boumans - Original Message - From: "matthschulz" <[EMAIL PROTECTED]> To: "Beginners (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 1:23 AM Subject: Visualizing of da

Re: Is there an alternative to CGI ???

2001-07-11 Thread Pierre Smolarek
Apache::ASP might interest you, however, your'll still have your memory problem as Mod_Perl stores within memory the servlet. Mod_perl is infamous for using large amounts of ram, but hey, thats a GOOD thing in my book. Better RAM then CPU/HDD Machine code is still faster and less resource intensi

RE: Is there an alternative to CGI ???

2001-07-11 Thread John Edwards
If you're going to post to the list, get it right first time round or prepare to be corrected by others on the list. No good complaining that people are nitpicking your posts if there are fundamental errors in them. IMHO anyway ;) John -Original Message- From: Aaron Craig [mailto:[EMAIL

Re: Is there an alternative to CGI ???

2001-07-11 Thread Aaron Craig
At 01:14 11.07.2001 -0800, Michael Fowler wrote: >On Wed, Jul 11, 2001 at 10:28:46AM +0200, Aaron Craig wrote: > > You may be confusing your terms here. CGI (Common Gateway Interface) is a > > general term that is used to describe the various methods used to > > communicate between a host compute

Re: syntax checking module

2001-07-11 Thread Paul Johnson
On Wed, Jul 11, 2001 at 12:21:10PM +0500, Rizwan wrote: > I am looking for a module that checks the syntax of a perl script. perl -c script -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: syntax checking module

2001-07-11 Thread Maxim Berlin
Hello Rizwan, Wednesday, July 11, 2001, Rizwan <[EMAIL PROTECTED]> wrote: R> I am looking for a module that checks the syntax of a perl script. hm. why don't you use perl itself? or, may be, eval()? Best wishes, Maximmailto:[EMAIL PROTECTED]

Re: Is there an alternative to CGI ???

2001-07-11 Thread Aaron Craig
You may be confusing your terms here. CGI (Common Gateway Interface) is a general term that is used to describe the various methods used to communicate between a host computer and a client through a network. There are many languages that can be used to handle this communication, such as Perl

Is there an alternative to CGI ???

2001-07-11 Thread George S Pereira
Hi all, Using CGI as a bridge between Perl and the Internet has some disadvantages, prominent is the increased use of memory. Is there another alternative for connecting Perl with the Internet other than CGI (Like maybe using Perl with ASP!!!) George Savio Pereira ^^

Re:Progress bar

2001-07-11 Thread Jorge Goncalvez
Hi all, I am using perl and Perl/Tk do develop a small software installer which uses DHCP,FTP and TFTP, it works fine but a great enhencement of this software could be the implementation of a progress bar with 3 differents colors to show the progression of the the 3 services used(DHCP,FTP,TFTP)

RE: CGI-PERL

2001-07-11 Thread Mal Beaton
http://stein.cshl.org/WWW/software/CGI/cgi_docs.html there is also an oreilly's book cgi programmin with perl however I have found the best way is using the cgi.pm module Licoln stein is the author he also has a book (the official guide to programming with cgi.pm) I have found it to be an ex

syntax checking module

2001-07-11 Thread Rizwan
HI! I am looking for a module that checks the syntax of a perl script. Thank you. Rizwan