Re: call on script OR another

2006-11-13 Thread Jay Savage
On 11/10/06, Tony Heal [EMAIL PROTECTED] wrote: OK, the has to be an easy way to call one script OR another from within another, but I would like suggestions, as this does not work because there is no RegEx to put from here. #!/usr/bin/perl if ( -f '/usr/local/custom/backup.pl' || '/usr

call on script OR another

2006-11-10 Thread Tony Heal
OK, the has to be an easy way to call one script OR another from within another, but I would like suggestions, as this does not work because there is no RegEx to put from here. #!/usr/bin/perl if ( -f '/usr/local/custom/backup.pl' || '/usr/local/custom/backup.sh' ) { system ($); }

Re: call on script OR another

2006-11-10 Thread Mumia W.
On 11/10/2006 09:01 AM, Tony Heal wrote: OK, the has to be an easy way to call one script OR another from within another, but I would like suggestions, as this does not work because there is no RegEx to put from here. #!/usr/bin/perl if ( -f '/usr/local/custom/backup.pl' || '/usr