Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 20:52:01 +0400
From:      "Andrew Pantyukhin" <infofarmer@gmail.com>
To:        "Isaac Friedman" <yifriedman@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: another newbie
Message-ID:  <cb5206420607020952q7304deb6kd362435688f84cae@mail.gmail.com>
In-Reply-To: <20060702153621.99746.qmail@web39104.mail.mud.yahoo.com>
References:  <20060702153621.99746.qmail@web39104.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/2/06, Isaac Friedman <yifriedman@yahoo.com> wrote:
> I am new to UNIX but know the basics of getting
> around, writing simple shell scripts, etc. Is there
> any way to use a short perl program as a shell script?

sat64% cat << __END__ > ./script.pl
#!/usr/local/bin/perl -w
print "Hello world!\n";
__END__
sat64% chmod a+x ./script.pl
sat64% ./script.pl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420607020952q7304deb6kd362435688f84cae>