APM: #! /usr/bin/perl -wT MORE DETAILS

Wayne Walker wwalker at bybent.com
Thu Oct 19 09:17:11 PDT 2006


I assume you are editing files on windows?

run this on a program that fails:

head -n 1 /my/broke_program | od -cx

And send the output here.  (Do it for both programs).

I'm suspecting trailing funny characters in the file that fails

On Thu, Oct 19, 2006 at 10:30:12AM -0500, CaptNemo wrote:
> RECAP:
> One other question...
> 
> Recently for some reason when I start my programs with:
> 
>         #! /usr/bin/perl
> 
> They don't work any more (on the latest versions of Slackware (perl 5.8.x)) 
> but, when I use:
> 
>         #! /usr/bin/perl -wT
> 
> ...they work fine.   I say recently because on older Slackware machines, 
> the first example works fine still.  Anyone have an idea why this is?
> 
> 
> Here's the behavior-
> 
> When I use
> 
>         #! /usr/bin/perl -wT
> 
>         ...it works fine.
> 
>  When I use
> 
>         #! /usr/bin/perl
> 
>         ...bash returns:
> 
>         ": No such file or directory
> 
> ...and does not execute the program.
> 
> What is going on??? 

> _______________________________________________
> Austin mailing list
> Austin at pm.org
> http://mail.pm.org/mailman/listinfo/austin

-- 

Wayne Walker

www.unwiredbuyer.com - when you just can't be by the computer

wwalker at bybent.com                    Do you use Linux?!
http://www.bybent.com                 Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/           Perl User Groups - http://www.pm.org/
Jabber:  wwalker at jabber.gnumber.com   AIM:     lwwalkerbybent
IRC:     wwalker on freenode.net


More information about the Austin mailing list