import CSV files in MYSQL

2007-08-31 Thread Ana
Hello people.. I have one file with data in CSV where first line is header.. Don't have one module for this? Thanks :D -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: import CSV files in MYSQL

2007-09-03 Thread Ana
andard dbd > (or dbi, i forget currently which is parent to which) module to > connect, then use "load data" anyway as the sql command. > > the specific parameters will depend on where the file is located, how > the fields are enclosed, terminated, etc > > On 8/31/

Re: import CSV files in MYSQL

2007-09-18 Thread Ana
On Sep 3, 9:13 am, [EMAIL PROTECTED] (Ana) wrote: > On 31 ago, 22:35, [EMAIL PROTECTED] (Jm) wrote: > > > > > > > if you have access to the mysql client and server you don't need any > > modules, just use the "load data" sql command with all the requis

Recover doesn't match regular expression

2008-01-23 Thread Ana
Hello People.. How I recover doesn't match regular expression??? I have one regular expression that return the match.. bu i would like recover the doesn't macth How? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

size of a process in memory

2002-10-02 Thread Ana M.Marfagón
anks in advance Ana -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Problems installing Proc::Spawn

2002-10-08 Thread Ana M.Marfagón
l $VERSION; $VERSION=undef; do { our $VERSION = 1.03; }; $VERSION ' in Spawn.pm: Can't modify subroutine entry in scalar assignment at (eval 16) line 7, at EOF I'm new in perl and I don't now what is wrong Thanks

Dynamically calling a subroutine

2007-02-12 Thread Ana Saiz García
g his name? Thanks in advance, and if I haven't been able to explain it well, please ask me :o) Regards Ana -- "El más baldío de todos los días es aquél en que no hemos reído" (de Chamfort)

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
Hello again and thanks for your answers You all have been very kind with your fast answers, and I have read a lot of good ideas. Tomorrow (I must go to bed *right* now ;o)) I will try them in order to find which one best fits my needs. Many thanks again. Regards Ana -- "El más bald

Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
"some_function"; if (my $coderef = M->can($function_name)) { $coderef->(); } Thank you for your idea, but I think this doesn't solve my problem, because what I don't know a priori is the module's name (in your example, M), not the function's name. Reg

Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
not what's going on, of course, carry on as you have been with the discussion. I just thought I'd bring up that idea in case it's relevant. Thank you anyway, because you have made me think of an alternative design, but in any case I can't only load one module. Regards Ana

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
On 13/02/07, Igor Sutton <[EMAIL PROTECTED]> wrote: > Thank you for your idea, but I think this doesn't solve my problem, because > what I don't know a priori is the module's name (in your example, M), not > the function's name. package M; sub my_routine { print "my_routine()\n"; } packag

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
Hi again and thanks for your help On 12/02/07, D. Bolliger <[EMAIL PROTECTED]> wrote: Ana Saiz García am Montag, 12. Februar 2007 22:26: > Hello Hello Ana > First of all, I apologize if this is not the right list to ask my question, > but as I am a perl beginner, I think

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
Hi again and thank you On 13/02/07, Igor Sutton <[EMAIL PROTECTED]> wrote: Hi Ana, > Don't I have to put "use" and the name of packages A and B anywhere on the > main program? I advice you to use Module::Pluggable for that (as I think you're designing a plugga

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
Thank you all for your answers, they have been very helpful :o) Regards Ana -- "El más baldío de todos los días es aquél en que no hemos reído" (de Chamfort)

Re: Dynamically calling a subroutine

2007-02-13 Thread Ana Saiz García
On 13/02/07, Igor Sutton <[EMAIL PROTECTED]> wrote: Ana, 2007/2/13, Ana Saiz García <[EMAIL PROTECTED]>: > Thank you all for your answers, they have been very helpful :o) > It would be nice if you post the solution you picked. It is useful for another user like you to

Dealing with ar archives

2007-03-15 Thread Ana Saiz García
Hello everybody I have to make a little program that deals with the contents of some ar archives. Do you know any alternative way to do this without using Archive::Ar module? Many thanks in advance regards Ana -- "El más baldío de todos los días es aquél en que no hemos

Re: Dealing with ar archives

2007-03-16 Thread Ana Saiz García
Thank you for your answer On 15/03/07, Chas Owens <[EMAIL PROTECTED]> wrote: On 3/15/07, Ana Saiz García <[EMAIL PROTECTED]> wrote: > Hello everybody > > I have to make a little program that deals with the contents of some > ar archives. Do you know any alternative way

Re: Dealing with ar archives

2007-03-18 Thread Ana Saiz García
install 6 more or so, and this is too much for the single and simple operation I want to do. Regards Ana -- "El más baldío de todos los días es aquél en que no hemos reído" (de Chamfort) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Dealing with ar archives

2007-03-19 Thread Ana Saiz García
On 19/03/07, Igor Sutton Lopes <[EMAIL PROTECTED]> wrote: On 2007/03/19, at 01:11, Ana Saiz García wrote: > Exactly that ^_^ In addition, to use that simple module I must install > 6 more or so, and this is too much for the single and simple operation > I want to do. I stil