Date: 5 Sep 2001 09:39:46 GMT From: damian@qimr.edu.au (Damian James) Subject: Re: Shell Scripts vs. Perl Scripts Message-Id: Heiko Wolf chose Wed, 05 Sep 2001 09:41:36 +0200 to say this: >... >No sorry, I meant "sh" -> UNIX-newbie *plonk* > You probably don't mean 'plonk' here -- this is supposed to indicate an increment to the population of the poster's killfile. >... >So I tried to enter those commands at the command line, and I only got >error messages like the following: > >perldoc -f system > > Unknown option: f > perldoc [-h] [-v] [-u] PageName|ModuleName|ProgramName... Blech! This doesn't sound like any version of perldoc I have encountered. What version of perl are you running? Try `perl -v`. I'll wager it is somewhat aged. One way to work with this would be to try: %perldoc perlfunc and then search for the 'system' function by typing '/system'. A better way would be to install a more recent perl. > >I'm using SUN Solaris 2.7 >Any suggestions? Check your version of perl, and either install a newer perl or prevail upon your sysadmin to do so Cheers, Damian. -- @:=grep!(m!$/|#!..$|),split//,;@;=0..$#:;while($:=@;){$;=rand $:--,@;[$;,$:]=@;[$:,$;]while$:;push@|,shift@;if$;[0]==@|;select$,, $,,$,,1/80;print qq x\bxx((@;+@|)*$|++),@:[@|,@;],!@;&&$/} __END__ Just another Perl Hacker, ### rev 3.3 -- stupidectomy performed :-)