Re: perl-Frage
Wolfram Kroll <[email protected]> Wed, 31 Jan 2007 12:26:37 +0100
| Newsgroups | gmane.os.apple.osx.german |
|---|---|
| Message-ID | <[email protected]> |
Christian Schmidt schrieb: > Hallo Claudius, > > Claudius Sailer, 31.01.2007 (d.m.y): > >> ich benötige ein Programm in perl, das ich wie folgt aufrufe >> >> ./perltest.pl Claudius Sailer >> >> in dem perl Programm möchte ich alles nach perltest.pl als Parameter >> auswerten wie mache ich das? >> >> In einem bash-Script geht das ja >> >> ./test.sh Claudius Sailer >> $0 > > Nein. Mit $0 bekaemst Du in diesem Falle "./test.sh". Hier steht, wie es bei Shell-Skripten gemacht wird: http://www.shelldorado.com/ > >> wie geht das unter perl? > > Dazu wuerde ich mal ein Perl-Tutorial konsultieren. Die Argumente stehen vielleicht in $ARGV[0] ? Grüße, Wolfram > > Gruss/Regards, > Christian Schmidt > -- "Software development is a cooperative game of invention and communication" - Alistair Cockburn (pronounced Co-burn) ############################################################# This message is sent to you because you are subscribed to the mailing list <[email protected]>. To unsubscribe, E-mail to: <[email protected]> To switch to the DIGEST mode, E-mail to <[email protected]> To switch to the INDEX mode, E-mail to <[email protected]> Send administrative queries to <[email protected]>