Re: getting end of an array

2003-10-09 Thread Rob Dixon
Dan Anderson wrote: > > > And I still think you should be writing a bash script! > > I forgot to mention that bash scripts are not necessarily portable. > There are lots of *BSDers out there who have Perl on their system but > don't install bash. The OpenBSD community comes to mind. > > So if port

Re: getting end of an array

2003-10-09 Thread Dan Anderson
> And I still think you should be writing a bash script! I forgot to mention that bash scripts are not necessarily portable. There are lots of *BSDers out there who have Perl on their system but don't install bash. The OpenBSD community comes to mind. So if portability were an issue Perl might

Re: getting end of an array

2003-10-09 Thread Dan Anderson
> And I still think you should be writing a bash script! TMTOWTDI :-D -Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: getting end of an array

2003-10-09 Thread Rob Dixon
Hi Rob. I'm trying to help. Really I am. But first of all it looks like you should be writing a bash script file (Perl isn't a scripting language). Please explain: Rmck wrote: > > I have a script that I what the last part of the element of > an array? So I can restart the script with the same el

getting end of an array

2003-10-09 Thread rmck
Hi, I have a script that I what the last part of the element of an array? So I can restart the script with the same element. Help: #!/bin/perl use strict; # Need IP of current procees so I can re-start it. # How it is returned: # root 6762 1355 0 Oct 05 pts/20:00 /bin/perl -w ./sc