Re: [PBML] outputting a command result
- That's it!
Thanks to all of you for your help.
--- In firstname.lastname@example.org, merlyn@... wrote:
> >>>>> "ReginaM" == ReginaM <rmiller@...> writes:
> ReginaM> Thank you.
> ReginaM> That got me farther along, but I still have an issue.
> ReginaM> I've now got:
> ReginaM> $filename = `ls -at1 /head -1`;
> If that's supposed to be:
> ls -at1 | head -1
> It'd be simpler to just:
> my ($filename) = `ls -at1`;
> which will grab just the first line of output.
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion