Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

AlphaX+Perl

by petercolapietro (Initiate)
on Aug 01, 2006 at 01:51 UTC ( #564899=perlquestion: print w/replies, xml ) Need Help??

petercolapietro has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks I am running Mac OS X Version 10.4.7 on my MacBook Pro. I downloaded Perl 5.8.8 and put it in /library/perl. I am using AlphaX as my texteditor when I code for Perl. I also download Tcl/Tk Aqua Batteries as instructed. I am going through O"reilly's Learning Perl. I created my first code:
#!/usr/bin/perl print "Hello, world!\n";
I think I set everything up right in Config > Perl Mode Prefs. But when I go to the Camal tab > tell perl > open this file the Camal turns blue all around it and it just stays that way. When I hit esc it says AESend failer: OSErr - 1711. If I try the camal tab > Run a file and choose the Hello, world! file it says can't read "wname": no such variable. I looked all through the wiki at http://alphatcl.sourceforge.net/cgi-bin/wikit/24.html and the AlphaX website but I can't seem to figure it out. Any help would be greatly appreciated.

Replies are listed 'Best First'.
Re: AlphaX+Perl
by cwry (Monk) on Aug 01, 2006 at 03:02 UTC

    Sorry, I don't use AlphaX, but may I suggest in the meantime that you have a read of Writeup Formatting Tips, particularly the sections about code tags and linefeeds getting stripped.

    You can then update your original node.

      Thanks for your advice I will now format my posts correctly.
Re: AlphaX+Perl
by john_oshea (Priest) on Aug 01, 2006 at 16:50 UTC

    As a side note, if you're planning on actually using the 5.8.8 installation, your programs should begin with #!/library/perl, otherwise you'll be using the standard Perl that comes with 10.4.7 (which I think is 5.8.6).

    I'm not familiar with AlphaX at all - does it have any preferences to tell it where perl is located perhaps?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://564899]
Approved by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-10-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?