🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.perl
4 messages
4 total messages Started by Toby Heywood Tue, 14 Oct 1997 20:21
Perl Newbie
#590
Author: Toby Heywood
Date: Tue, 14 Oct 1997 20:21
22 lines
1522 bytes
Hi!

I am currently reading a book called Learning Perl. I have a copy of
RedHat 4.1 Linux which came with a copy of Perl 5.

Now the stupid question.  I would like to write a new script on my linux
box, could you tell me what the command line would be to make a new
script.

As in windows you would just go to new, so I thought maybe in perl I
could type;

$perl new

but that didn't work.  I have studied most of the online documentation,
and unless I'm going insane I can't find this basic piece of information
anywhere.

Thanks for you time.
-- 
Toby Heywood
Proprietor, Heywood Enterprises
Re: Perl Newbie
#591
Author: Ryszard Lach
Date: Thu, 23 Oct 1997 10:06
29 lines
1929 bytes
In article <3443D459.38DE664C@he-net.demon.co.uk>, Toby Heywood wrote:
>
>Now the stupid question.  I would like to write a new script on my linux
>box, could you tell me what the command line would be to make a new
>script.
>
>As in windows you would just go to new, so I thought maybe in perl I
>could type;
>
>$perl new

Programming in perl has nothing to do with windows-like working. Perl is only
a programming language and it can interpret given as argument files. So you
have to write a set of perl commands in a text file (let's say "my.first.pl"
- .pl is the default extension to perl files) and than you should type in
shell "perl my.first.pl". You can also write "#!/usr/bin/perl" (I assume
that you have perl in this path) in the very first line of the file and than
change it's mode to executable (chmod 755 my.first.pl) and than just run it
in the same way as any other programm. Just remember: when this file is in 
your current directory you have to type "./my.first.pl", not just "my.firs.pl"

					Regards,
						Siaco

-- 
___________________________________________________________________________
|Ryszard Lach | student PWR,EKA/ISK | Poprzeczna 56/1, 51-167 Wroclaw	  |	
|e-mail: rlach@waza.com.pl | Office Waza sp. z o.o. (071) 44-64-49 Wroclaw|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: Perl Newbie
#592
Author: Grzegorz Szyszl'o
Date: Fri, 24 Oct 1997 06:25
22 lines
1564 bytes
rlach@jupi.waza.com.pl (Ryszard Lach) wrote:
>In article <3443D459.38DE664C@he-net.demon.co.uk>, Toby Heywood wrote:

>Programming in perl has nothing to do with windows-like working. Perl is only
>					Regards,
>						Siaco

>|Ryszard Lach | student PWR,EKA/ISK | Poprzeczna 56/1, 51-167 Wroclaw	  |	

taka mala prosba. gdybym chcial poczytac dyskusje o perlu po angielsku,
po prostu wszedlbym na jedna z grup comp.lang.perl  . a te grupe
czytam dlatego, ze jest po naszemu.

no to tyle wnioskow formalnych. prosze o niekontynuowanie tej dyskusji,
a takze innych dyskusji w j.ang.

Pozdrawiam,
-- 
/===================================\    oOOo      W temperaturze zera
| http://avalon.wbc.lublin.pl/~znik/ \===\__/==\   bezwzglednego swiatlo
| Grzegorz Szyszlo   mailto:znik@wbc.lublin.pl |   zmienia postac
\==============================================/   alotropowa   (by Znik)
Re: Perl Newbie
#593
Author: Matt
Date: Fri, 14 Nov 1997 17:20
21 lines
1473 bytes
On 24 Oct 1997 06:25:09 GMT, Grzegorz Szyszl'o
<znik@avalon.wbc.lublin.pl> wrote:

>rlach@jupi.waza.com.pl (Ryszard Lach) wrote:
>>In article <3443D459.38DE664C@he-net.demon.co.uk>, Toby Heywood wrote:
>
>>Programming in perl has nothing to do with windows-like working. Perl is only
>>					Regards,
>>						Siaco
>
>>|Ryszard Lach | student PWR,EKA/ISK | Poprzeczna 56/1, 51-167 Wroclaw	  |	
>
>taka mala prosba. gdybym chcial poczytac dyskusje o perlu po angielsku,
>po prostu wszedlbym na jedna z grup comp.lang.perl  . a te grupe
>czytam dlatego, ze jest po naszemu.
>
Jesli ktos grzecznie pyta, to wypada mu odpowiedziec. A ludzie chyba
sa na tyle kumaci, ze zrzumieje a jak nie to nie musza czytac. Watpie
zeby grozil nam zalew angielskojezycznych pytan.
				Pozdrowienia
				Mazek
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads