using perl in mandrake

2001-06-07 Thread bc
i have mandrake8 and use kde, i normally use asp/vbScript and want to make the move to perl. I just got "learning perl" 2nd Ed. it does not seem to tell me what to do w/ my script i type, where to save it, what to save it as (extention), and do i just ftp it to my domain that is on a perl

space

2001-06-07 Thread bc
who knows of some free web space that allows the use of perl? so i can test my "hello world" program and more and more... :) bc

confused

2001-06-08 Thread bc
confused, when i run this file below, "whatisyourname.pl" on my site, my browser displays this, but never askes me for $name? it just prints "what is your name" and "hello, !" #!/usr/bin/perl print "Content-type: text/html\n\n"; print ""; print "what is your name? "; $name = ; chomp ($name); pr

flat file

2001-07-23 Thread bc
how, in perl/cgi, or, what is a popular way of connecting to, and displaying, a csv file's contents to a browser, in table form? thanks, bc

Re: flat file

2001-07-24 Thread bc
i'm an old asp/vbscript dude, i do not know how to "...make sure the file is open" either? any real quick explanation you can give me to get the file open in perlScript/CGI? to match what you said below? > --- bc <[EMAIL PROTECTED]> wrote: > > how, in perl/cgi

Re: flat file

2001-07-24 Thread bc
thanks bossman! :) will i like this better than asp? - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: "bc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 1:45 PM Subject: Re: flat file &

Re: flat file (addendum)

2001-07-24 Thread bc
# seperate fields into cells s{$}};# close the last cell and the row print "$_\n"; # I like to add the newline } close CSV; # then end: print "",CGI->end_html; exit; - Original Message - From: "Paul" <[EMAIL PROTECTED]> To: <[EMA

Re: flat file (addendum)

2001-07-25 Thread bc
e s/^//; # start the table row and first cell s{,}{}g; # seperate fields into cells s{$}};# close the last cell and the row print "$_\n"; # I like to add the newline } close CSV; # then end: print "",CGI->end_html; exit; - Original M

ideas...?

2001-07-29 Thread bc
[any ideas...] the browser's error below: couldn't find diagnostic data in /usr/local/lib/perl5/5.6.0/pods/perldiag.pod /usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i686-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/sit

csv flat file

2002-01-24 Thread bc
hello i have a flat file (csv) [it has about 114 rows] i want to put the word "insert " in front of each row, how it the "for each" writtin? in other words, in perl, how do i do a for each row insert the word "insert ", then it comes out of the "for each" loop thingy...?

perl for csv and sql...

2002-01-26 Thread bc
...  ??? any ideas? the csv is a file named csv_rows.csv  thanks, bc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl for php, in order to break free from asp

2002-01-27 Thread bc
er/bin/perl open (infile, "text.csv"); @indata = infile; foreach??? something like this? thanks a ton, i've gotten a lot of error's trying to do this for days...? bc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re:Re[2]: perl for php, in order to break free from asp

2002-01-27 Thread bc
hehe thanks for your real answer matt bc Daniel Gardner <[EMAIL PROTECTED]> wrote on 1/27/02 4:18:59 PM: > >Sunday, January 27, 2002, 3:03:03 PM, Matt C. wrote: > >> There's a module called DBD::CSV, which will probably solve your problem. CPAN is >> good at tha

Re:Re[2]: perl for php, in order to break free from asp

2002-01-27 Thread bc
so matt, can i assume that in perl, to add string to sting, just do this: "string data...etc..." ($string_to_be_added\n); ? Just put them next to each other? bc Daniel Gardner <[EMAIL PROTECTED]> wrote on 1/27/02 4:18:59 PM: > >Sunday, January 27, 2002, 3:0