Re: Cron environment for execution of Perl script

2008-11-08 Thread Chas. Owens
On Thu, Nov 6, 2008 at 16:42, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote: >I need an environment variable from my .profile on Solaris and having > troubles getting at it. I have a Perl script which executes fine outside of > cron and now am trying to do

Re:Connecting MS SQL from linux

2008-11-08 Thread Jeff Pang
> Message du 08/11/08 14:38 > De : "[EMAIL PROTECTED]" > A : beginners@perl.org > Copie à : > Objet : Connecting MS SQL from linux > > > Hi! > > I'm using perl to connect to mysql, but now i need it to connect to MS > SQL server and after google search i still don't understand the best > way to do

Re: Cron environment for execution of Perl script

2008-11-08 Thread Telemachus
On Thu Nov 06 2008 @ 3:42, Wagner, David --- Senior Programmer Analyst --- WGO wrote: > I need an environment variable from my .profile on Solaris and having > troubles getting at it. I have a Perl script which executes fine outside of > cron and now am trying to do via cron. I wanted to

Connecting MS SQL from linux

2008-11-08 Thread [EMAIL PROTECTED]
Hi! I'm using perl to connect to mysql, but now i need it to connect to MS SQL server and after google search i still don't understand the best way to do it. I need some tips to solve this issue, please people. Thanks, AV -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: whats the perl command to run/execute a program or script

2008-11-08 Thread weezer316
On Nov 5, 11:17 pm, [EMAIL PROTECTED] (Itshardtogetone) wrote: > Hi, > Whats the perl command to run a script or program. > Thanks hello, typically you will open a shell/command prompt, change directory to where your script is and the execute with "perl script" So, say for example your script is

Re: Regex path

2008-11-08 Thread Dr.Ruud
Brent Clark schreef: > I have some paths like so. > > /home/brent/cgi-bin/scripts/common/ticktaktoe > /home/brent/cgi-bin/scripts/agent/ticktaktoe > > This is my regex. > > ($q) = $ht_file =~ /^(.*)\/[^\/]+/; > > Im trying to get $q to be populated with common or agent. echo '/home/brent/cgi-bin/

Cron environment for execution of Perl script

2008-11-08 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I need an environment variable from my .profile on Solaris and having troubles getting at it. I have a Perl script which executes fine outside of cron and now am trying to do via cron. I wanted to stay away from a shell script and was wondering what is the easiest way to get my .profile