Re: Calling bash things inside perl script.

2007-04-02 Thread D. Bolliger
D. Bolliger am Dienstag, 3. April 2007 07:56: > Nath, Alok (STSD) am Dienstag, 3. April 2007 07:03: > > Hi, > > Before starting my problem I just want to thank all the active > > members > > who had literally mentored me in learning perl. > > > > I have bunch of this bash scripts which has lot of f

Re: Calling bash things inside perl script.

2007-04-02 Thread D. Bolliger
Nath, Alok (STSD) am Dienstag, 3. April 2007 07:03: > Hi, > Before starting my problem I just want to thank all the active > members > who had literally mentored me in learning perl. > > I have bunch of this bash scripts which has lot of functions. > I wanted to call and use them in a perl script.I

RE: Calling bash things inside perl script.

2007-04-02 Thread Nath, Alok (STSD)
Hi, I tried something like this : Shell script : #!/bin/bash test() { echo "test:Inside tests.sh..." } export -f test Perl Script : #!/usr/bin/perl -w use strict ; print "Test main

Calling bash things inside perl script.

2007-04-02 Thread Nath, Alok (STSD)
Hi, Before starting my problem I just want to thank all the active members who had literally mentored me in learning perl. I have bunch of this bash scripts which has lot of functions. I wanted to call and use them in a perl script.I am not sure how to do th

MS Word translation

2007-04-02 Thread Jen mlists
Hello, Would you please tell me what's the correct module for translating a word document to the plain text?Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: use lib

2007-04-02 Thread Igor Sutton Lopes
Hi,, On 2007/04/02, at 20:32, Nigel Peck wrote: Hi, I've recently starting writing my own modules. At the top of each script that uses my modules I do: use lib qw( /home/nigel/mis_perl_modules/dev ); while I'm developing them and then change it to: use lib qw( /home/nigel/mis_perl_modul

Re: use lib

2007-04-02 Thread Bill Jones
On 4/2/07, Nigel Peck <[EMAIL PROTECTED]> wrote: My question is, is this the best way to go about having modules in development? Yes and no. Read more about this at: http://www.perlmonks.org/index.pl?node_id=238691 -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ http://

use lib

2007-04-02 Thread Nigel Peck
Hi, I've recently starting writing my own modules. At the top of each script that uses my modules I do: use lib qw( /home/nigel/mis_perl_modules/dev ); while I'm developing them and then change it to: use lib qw( /home/nigel/mis_perl_modules/live ); once the modules are in live use. My qu

Re: Project Management

2007-04-02 Thread Nigel Peck
Edi STOJICEVIC wrote: Hi, Here are some I gave a try : * Planner --> http://live.gnome.org/Planner * GanttProject --> http://ganttproject.biz/ Dunno if they have all the features you're looking for ... Thanks Edi I'll have a look at them. -- To unsubscribe, e-mail: [EMAIL PROTEC

Re: Project Management

2007-04-02 Thread Edi STOJICEVIC
* Nigel Peck <[EMAIL PROTECTED]> [2007-04-02 16:25:04 +0100] wrote : > > Hi all, > > I'm interested to hear about any tools you know of that are good for > managing perl development projects. > > Hope this is not off topic but it's Perl development that I want to > manage so hoping someone on

Project Management

2007-04-02 Thread Nigel Peck
Hi all, I'm interested to hear about any tools you know of that are good for managing perl development projects. Hope this is not off topic but it's Perl development that I want to manage so hoping someone on the list will know of something that fits the bill. I'm looking for the followin

RE: Not an ARRAY reference. Problems reading a simple XML file

2007-04-02 Thread Jenda Krynicky
From: Andrew Curry <[EMAIL PROTECTED]> > If you look at $data for the problem file its not an array at that point. > For a single element XML::Simple doesn't display your data in a list i.e. > > With 1 element of record. > > $VAR1 = { > 'RECORD' => { >

Re: Not an ARRAY reference. Problems reading a simple XML file

2007-04-02 Thread Igor Sutton Lopes
On 2007/04/02, at 15:14, Dave Adams wrote: My script is having problems reading and XML file with only one record in it. When I add two or more records, there are no problems. The error is "Not and ARRAY reference.." Here is the PROBLEM xml file (test.xml): FBIS2004 CP1 Here is t

Re: portability?

2007-04-02 Thread Jenda Krynicky
From: Jeni Zundel <[EMAIL PROTECTED]> > I do most of my studying/ prototyping on a mac. I admit it. I love my mac. > So, I wrote a little script on my mac, as follows: > > > #!/usr/bin/perl > # dedupe.pl > > use strict; > use warnings; > > my (@words, %schtuff, $word); #

RE: Not an ARRAY reference. Problems reading a simple XML file

2007-04-02 Thread Andrew Curry
If you look at $data for the problem file its not an array at that point. For a single element XML::Simple doesn't display your data in a list i.e. With 1 element of record. $VAR1 = { 'RECORD' => { 'COLLNAME' => 'FBIS2004', 'DOCI' => 'CP1'

Re: Ruby

2007-04-02 Thread Jay Savage
On 3/31/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote: Hi, I have used the cpan shell under Windows, and a strange warning appeared. Does anyone know what it is? I have just installed ActivePerl 5.8.8, build 820, but it happened the same with the build 819. Here it is: D:\Documents and Setti

Not an ARRAY reference. Problems reading a simple XML file

2007-04-02 Thread Dave Adams
My script is having problems reading and XML file with only one record in it. When I add two or more records, there are no problems. The error is "Not and ARRAY reference.." Here is the PROBLEM xml file (test.xml): FBIS2004 CP1 Here is the WORKING xml file: FBIS2004 CP1 FBIS2005 C

portability?

2007-04-02 Thread Jeni Zundel
I do most of my studying/ prototyping on a mac. I admit it. I love my mac. So, I wrote a little script on my mac, as follows: #!/usr/bin/perl # dedupe.pl use strict; use warnings; my (@words, %schtuff, $word); # set up necessary variables. open FH, "c:/data/filename.txt"

Re: Trying to make things portable

2007-04-02 Thread Igor Sutton Lopes
On 2007/04/02, at 11:04, Jeff Pang wrote: I am trying to group some common subroutines into a module. As I use both Win32 and *nix systems I wanted the the routines that use the file system to be able to work in both environments and handle paths like /var/path/to/dir and h:\home\dir equally

Re: Trying to make things portable

2007-04-02 Thread Jeff Pang
>I am trying to group some common subroutines into a module. As I use >both Win32 and *nix systems I wanted the the routines that use the >file system to be able to work in both environments and handle paths >like /var/path/to/dir and h:\home\dir equally well. > >I know that perl will treat h:/

Trying to make things portable

2007-04-02 Thread Beginner
Hi, I am trying to group some common subroutines into a module. As I use both Win32 and *nix systems I wanted the the routines that use the file system to be able to work in both environments and handle paths like /var/path/to/dir and h:\home\dir equally well. I know that perl will treat h:/ho