Hello Brothers,
0 I did create an account but I can't my email this days, so I'm anonymous....
1 thx for your answers on Perl and OS X
2 Where is the best place here to post my messages about Perl and OS X for the newby ?
4 What editor to use ? I can't save my files as .pl in textedit
3 I begun to learn and type some lines, following the tutorials, and I found that I have to twist a little bit the examples if you want them to work on OS X.
that is :
example in Tutorial:Basics
[Ordinateur-de-me-XoX:~] exox% #!/usr/bin/perl
/usr/bin/perl: Event not found.
print "Hello World!\n";
[Ordinateur-de-me-XoX:~] exox% print "Hello World!\n";
print: Command not found.
[Ordinateur-de-me-XoX:~] exox%
[Ordinateur-de-me-XoX:~] exox%
[Ordinateur-de-me-XoX:~] exox%
(this the terminal prompt and
[Ordinateur-de-me-XoX:~] exox% is always on the screen)
So it doesn't work...
But
(example by Louis Wu) ;
[Ordinateur-de-me-XoX:~] exox% perl -e 'print "Hello World!\n";'
Hello World!
[Ordinateur-de-me-XoX:~] exox%
it works.
But
(example buy Defyance)
[Ordinateur-de-me-XoX:~] exox%
$ man perl[Ordinateur-de-me-XoX:~] exox% $ man perl
$: Command not found.
doesn't...
well, i'm lost !!
Could you tell me where or what is the problem ?? Does OS X needs a special typing or ...??
Amen,
Bro. Xav
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.