[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: Sv: [NOVICE] perl start



Christian Precht Jensen wrote:

> hvordan helved laver man et perl-script
> 
> kan man ikke starte det i X11
> 

Step-by-step:

 - Du starter en tekst editor (vi, emacs, gedit, gnotepad+, osv.)

 - På _FØRSTE_ linie i det tomme dokument skriver du '#!/usr/bin/perl
-w' (Den linie fortæller dels at det er et perl-script, og dels hvor
perl befinder sig)

 - På de følgende linier (efter '"!/usr/bin/perl -w') skrives koden.
(Hvis du skal bruge en rigtig god bog for at komme igang, kan jeg
anbefale 'Programming perl')

 - Når du er færdig med at skrive dit program, skal det gøres
eksekverbart. Det gøres med følgende komando 'chmod 755 <perl-script>'.

 - Her efter er du klar til at køre dit perl-script. (./<perl-script>)

Jeg håber at du kan bruge ovenstående til noget. Hvis du *ikke* kan, så
kan det godt være at du skal vente lidt med at lave skripts, og istedet
sætte dig lidt mere ind i hvordan Linux virker!!!!!!!

MVH

Kasper Bonne



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:58 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *