Perl problems

Joe Wamsley jw at netrattler.net
Thu May 12 03:04:50 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen R Laniel wrote:
> On Wed, May 11, 2005 at 10:42:57PM -0400, Joe Wamsley wrote:
> 
>>50 2005-05-11 22:07 secede2.pl. I also tried this that someone else
>>suggested by running ./secede.pl names.txt and it works so is there any
>>chance that maybe I have the incorrect PATH. Here are the results from
>>echo $PATH
>>/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/g
>>ames:/usr/bin/perl
> 
> 
> Yeah, the path is almost certainly the problem if
> './secede.pl names.txt' works. Somewhere in your .bashrc, do
> 
> export PATH=${PATH}:.
> 
> Note the trailing dot in the line above -- it says, "Always
> include the current directory in the PATH."
> 
> After you've added that to .bashrc, do
> 
> source .bashrc
> 
> (or equivalently '. bashrc' ["dot bashrc"])
> 
> to load the changes to your PATH. Now if you type
> 
> secede.pl names.txt
> 
> it should work fine.
> 
> 

Ok I gave that a try and it is now working thanks a lot for everybody's
help. Just curious if anybody else had this problem though. I'm just
using the Perl version that was installed by default.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCgsfSrUKg47Bf38URAktMAJ9L7rvISHenhOH0GzvmrzvWhy3XRgCfZPK8
wlrLead4TuDqQRbWtB4GapY=
=uho3
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list