[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: perl with RH 7.0



Instead of typing filename, type ./filename.

Your current directory isn't in your path.


----
Robert S. Koss, Ph.D.   | Training and Mentoring
Senior Consultant       | Object Oriented Design
Object Mentor, Inc.     | C++, Java
www.objectmentor.com    | Extreme Programming

> -----Original Message-----
> From: redhat-install-list-admin redhat com
> [mailto:redhat-install-list-admin redhat com]On Behalf Of Danny
> Sent: Saturday, July 21, 2001 1:44 PM
> To: redhat-install-list redhat com
> Subject: perl with RH 7.0
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> 	Hello Readers;
> I know this is kinda off-topic but I am sure many of you use perl
> and since I
> am running RH 7 maybe its not too far off, besides this is the
> only list I am
> currently subscribed to these days. I am trying to learn a little
> perl. So
> the book has me create a little program with just a print
> statement. It says
> the first line should be #! /usr/bin/perl -w and that the file
> should be made
> executable with chmod +x filename and It should run with the
> filename typed
> at the prompt. Yet when I type the filename I get   bash:
> filename: command
> not found
>
> I do have perl installed and perl -v produces the following
>
> [root ool-18bcbc77 perl_projects]# perl -v
>
> This is perl, v5.6.0 built for i386-linux
>
> Copyright 1987-2000, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic
> License or the
> GNU General Public License, which may be found in the Perl 5.0 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using `man perl' or `perldoc perl'.  If you have access to the
> Internet, point your browser at http://www.perl.com/, the Perl Home Page.
>
> Under /usr/bin/ I have perl and perl5.6.0  any ideas?
>
> Thanks Danny
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE7Wb99b56Re6TvPlERAgpfAJ44bjsreUJnPyaiUmC+4QY/xki6oACeKFgp
> SEOO3owOIe4gCFpxkswv4v4=
> =e5nc
> -----END PGP SIGNATURE-----
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]