Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:soft_utilisation_de_perl_au_centre_de_calcul [2016/12/05 14:43]
127.0.0.1 external edit
en:soft_utilisation_de_perl_au_centre_de_calcul [2016/12/13 12:12] (current)
Jean-René ROUET
Line 35: Line 35:
 > perl -h > perl -h
 </​code>​ </​code>​
-Access to the [[http://cc.in2p3.fr/​doc/​phpman.php?​parameter=perl&​mode=man|man pages]] . You have the possibility to use Perl in a script file. In this case, it is better to use the **.pl** suffix. Your file should contain as the first line:+Access to the [[http://cctoolsafs.in2p3.fr/​doc/​phpman.php?​parameter=perl&​mode=man|man pages]] . You have the possibility to use Perl in a script file. In this case, it is better to use the **.pl** suffix. Your file should contain as the first line:
 <​code>​ <​code>​
 #​!/​usr/​local/​bin/​perl -w #​!/​usr/​local/​bin/​perl -w
 </​code>​ </​code>​
 The argument -w is optional but allows you to have the "​warnings"​ during the interpretation or execution of your Perl script. This file sould have the "​executable"​ UNIX characteristic because Perl is an interpretated language. You should not generated an executable file in the programmation language sens as C, C++ or Fortran. The argument -w is optional but allows you to have the "​warnings"​ during the interpretation or execution of your Perl script. This file sould have the "​executable"​ UNIX characteristic because Perl is an interpretated language. You should not generated an executable file in the programmation language sens as C, C++ or Fortran.
- 
  
  • en/soft_utilisation_de_perl_au_centre_de_calcul.txt
  • Last modified: 2016/12/13 12:12
  • by Jean-René ROUET