Re: system command not working in different versions

2012-08-09 Thread venki neeli
hi Midhun/Hal Shebang lines of Script-1 and Script-2 and perl location are same. Where as Script one is executing and Script-2 is not executing. The other machines are calling the Script-2 perfectly with command   "./submit_now.pl $". Full path also I have tried. What may be the problem? is it

Re: system command not working in different versions

2012-08-09 Thread Paul Anderson
Silly question: Does submit_now.pl have its execute bit set? Paul Anderson -- VE3HOP On 2012-08-09, at 3:17 AM, venki neeli wrote: > hi Midhun/Hal > > Shebang lines of Script-1 and Script-2 and perl location are same. > Where as Script one is executing and Script-2 is not executing. >

Re: system command not working in different versions

2012-08-09 Thread Shawn H Corey
On Thu, 9 Aug 2012 15:17:57 +0800 (SGT) venki neeli wrote: > What may be the problem? is it with version of perl? or perl module > problem? It may be a difference in the shell. When there are metacharacters present, system uses sh(1) to interpret them. Try this on your machines to see if they're

RE: system command not working in different versions

2012-08-09 Thread Bob McConnell
> From: Shawn H Corey > > On Thu, 9 Aug 2012 15:17:57 +0800 (SGT) > venki neeli wrote: > > > What may be the problem? is it with version of perl? or perl module > > problem? > > It may be a difference in the shell. When there are metacharacters > present, system uses sh(1) to interpret them. Tr

Re: system command not working in different versions

2012-08-09 Thread Shawn H Corey
On Thu, 9 Aug 2012 12:20:33 + Bob McConnell wrote: > My first step would be to log into the problem machine as the same > user the command runs under, then try to run it manually. The error > messages there should point you toward the problem. If it runs, then > there has to be a difference i

Re: Catfile function not working on windows 7 machine

2012-08-09 Thread Sandip Karale
Hi Shlomi, Thanks for your reply. my $d="machdir"; This UNC path I'm getting from arguments, and then I want to process it. That is I want to concatenate the file name to it and open the file and print its contents. So your solution will not help. Sincerely, Sandip On Wed, Aug 8,

Re: Catfile function not working on windows 7 machine

2012-08-09 Thread Paul Anderson
Per the message by Mr. Adigun, using a single quote instead of double quotes tells perl not to interpolate the string. That will prevent it from eating all those backslashes. Paul Anderson -- VE3HOP On 2012-08-09, at 8:53 AM, Sandip Karale wrote: > Hi Shlomi, > > Thanks for your re

Re: List::MoreUtils

2012-08-09 Thread Octavian Rasnita
From: "Martin Barth" Subject: Re: List::MoreUtils Hi Shlomi, Everyone On 12:38:40 08/08/2012 Shlomi Fish wrote: perl-5.10.1 is very old and no longer actively maintained. There's already perl-5.16.0. List::MoreUtils is at version 0.33: https://metacpan.org/release/List-MoreUtils . I am awa