Re: how to remove ^M character from every line

2007-10-10 Thread luyan . bj
On Sep 3, 9:03 am, [EMAIL PROTECTED] (Beginner) wrote: On 3 Sep 2007 at 13:38, Andrew Curry wrote: The problem is its unclear, its always better to be clear in code. It will also remove any formatting from the end of lines. If you wanted to be just as crude you can use chomp. I paritally

LWP w/ ssl post problem

2005-12-09 Thread BJ
I am trying to get data from a webpage that I need to log into via a ssl html form. When I try, all I get is the login page html. I have Crypt:SSLeay (I forget the exact module) installed. Am I doing something fundamentally wrong here? I would appreciate any help I could get. Thank you very

Programs that code themselves

2005-05-16 Thread BJ
I was wondering how people approach problems that call for some of teh code to be generated on teh fly. I think a simple example would be a program for a teacher that imports a file, students.txt and produces a tk form with each students name and a pull down menu with the 5 possible grades for

xml simple question

2005-04-15 Thread BJ
every node in Data. Any ideas on how to do that? I am truely stuck. Thank you for your time and help. ~BJ #!/usr/bin/perl # use module use XML::Simple; use Time::Local; print Welcome to the xml aggregator\n; print *\n\n; print Enter the name of the directory to parse\n

Re: xml simple question

2005-04-15 Thread BJ
Thank you very much, I will look into xpath and xlst. :-) Chris Devers wrote: On Fri, 15 Apr 2005, BJ wrote: I am trying to write a script to aggregate diverse xml documents into tables. The trick is that i dont know the exact stucture of the xml files in advance. [] I basically want

is there any way to create a variable from text?

2005-04-15 Thread BJ
For instance if i had an array (a,b,c) can I through code create @a, @b, and @c? Just curious. ~BJ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: is there any way to create a variable from text?

2005-04-15 Thread BJ
, but to me it seems liek it would work. Thanks for the continueed help. ~BJ Paul Johnson wrote: On Fri, Apr 15, 2005 at 03:22:56PM -0400, BJ wrote: For instance if i had an array (a,b,c) can I through code create @a, @b, and @c? Just curious. ~BJ Yes, you can, but you probably shouldn't

Re: Frustration - split not working as expected

2005-04-01 Thread BJ
I think if you want to be lazy you can set the env variable $,=\n; Also, wont this create an array of 3 items? Perhaps you want to throw in a print $pricelist[1] \n instead of print @pricelist. (dont do both though) Brett Williams wrote: Hi :) Ive been working all afternoon trying to get what

Another optionmenu callback problem

2005-03-25 Thread BJ
I am trying to create a hierchical optionmenu system. I have an array for my first options, and hashes of arrays for my second and third options where the index of the array is the choice from the previous menu. Whenever I try to update the options, I get an error though. The program when

changing selected values in optionmenus in perl tk

2005-03-17 Thread BJ
? Thank you very much for your help. I tried to read teh manuals, but couldnt find what I was looking to do. ~BJ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response