in reply to perl script inside a shell script
It's strange and terrible and I'm not sure how to get something out of the perl part, but this sort of works (with bash, at least):
#!/bin/sh echo This is bash i=12 echo $i perl <<__HERE__ print "This is perl\n"; my \$i = $i; print ++\$i . "\n"; __HERE__ echo This is bash again echo $i
Good luck with it (although I'm not quite sure what you hope to gain.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl script inside a shell script
by chipmunk (Parson) on Dec 12, 2000 at 03:17 UTC | |
|
Re: Re: perl script inside a shell script
by Blue (Hermit) on Dec 12, 2000 at 03:14 UTC |