Search   Feed   Browse   Add
Feed items 11 - 20 of 29 for March 2008

Re: How to run Perl script at Mac OS (Darwin) Release by Doug McNutt - March 9, 2008

Hashing of tools by shells has not been mentioned. It may not be part of the problem but on invocation many, if not all, shells examine the $PATH variable and make a table of executables that it finds. The table is then converted to a hashed lookup array in order to improve speed of response. (That probably makes little sense today but it was started during the days of mag tape.)So if you create a perl script, place it somewhere in $PATH, and set its execute permission a running shell will not..
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10650.html

Re: How to run Perl script at Mac OS (Darwin) Release by Igor Sutton - March 9, 2008

On Mar 9, 2008, at 12:31 PM, jeremiahjeremiahfoster.com wrote:>> On Mar 7, 2008, at 7:48 PM, Larry Prall wrote:>>> Change the she-bang (!) line to read:>>>> !usrbinperl -w>>>> That&39;s the location of the default perl installation on OS X.>> That _may_ be the problem, but it is not necessarily the problem. I > believe that if there was no perl interpreter in the path that the > OP specified, bash would say ->> "bash: .test1i.pl:...
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10649.html

Re: How to run Perl script at Mac OS (Darwin) Release by jeremiah - March 9, 2008

On Mar 7, 2008, at 7:48 PM, Larry Prall wrote:> Change the she-bang (!) line to read:>> !usrbinperl -w>> That&39;s the location of the default perl installation on OS X.That _may_ be the problem, but it is not necessarily the problem. I believe that if there was no perl interpreter in the path that the OP specified, bash would say -"bash: .test1i.pl: !usrlocalActivePerl-5.10binperl: bad interpreter: No such file or directory"But instead bash is saying "Command...
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10648.html

Re: How to run Perl script at Mac OS (Darwin) Release by Larry Prall - March 8, 2008

Change the she-bang (!) line to read:!usrbinperl -wThat&39;s the location of the default perl installation on OS X.- LarryOn Mar 7, 2008, at 1:35 PM, Gary Yang wrote:> Hi,>> Below is my Perl script. The script named, test1.pl>> test1.pl>> !usrlocalActivePerl-5.10binperl -w>> print "$On";>>> I have to type, "perl test1.pl" in order to run it. I got command > not found if I simply typed test1.pl. Can someone tell me why and > how to..
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10647.html

Re: How to run Perl script at Mac OS (Darwin) Release by jeremiah - March 8, 2008

On Mar 7, 2008, at 7:35 PM, Gary Yang wrote:> Hi,>> Below is my Perl script. The script named, test1.pl>> test1.pl>> !usrlocalActivePerl-5.10binperl -w>> print "$On";>>> I have to type, "perl test1.pl" in order to run it. I got command > not found if I simply typed test1.pl. Can someone tell me why and > how to fix it>Indeed, as Chas. mentioned, the script you have written must be &39;executable&39;. There is a distinction.
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10646.html

Re: How to run Perl script at Mac OS (Darwin) Release by Chas. Owens - March 7, 2008

On Fri, Mar 7, 2008 at 1:35 PM, Gary Yang <garyyang6yahoo.com> wrote:> Hi,> Below is my Perl script. The script named, test1.pl> test1.pl>> !usrlocalActivePerl-5.10binperl -w>> print "$On";>>> I have to type, "perl test1.pl" in order to run it. I got command not found if I simply typed test1.pl. Can someone tell me why and how to fix it>> test1.pl> -bash: test1.pl: command not foundsnipFirst, you must make sure it...
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10645.html

How to run Perl script at Mac OS (Darwin) Release by Gary Yang - March 7, 2008

Hi, Below is my Perl script. The script named, test1.pl test1.pl !usrlocalActivePerl-5.10binperl -w print "$On"; I have to type, "perl test1.pl" in order to run it. I got command not found if I simply typed test1.pl. Can someone tell me why and how to fix it test1.pl -bash: test1.pl: command not found Thanks Gary ---------------------------------Never miss a thing. Make Yahoo your homepage.
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10644.html

Re: Using Perl to Read jar file MANIFEST file. by Michael Barto - March 7, 2008

THANK for the tip. This will work fine. Great mailing listClaes Jakobsson wrote:> !usrbinperl>> use strict;> use warnings;>> use Archive::Zip qw(:ERROR_CODES :CONSTANTS);> use Archive::Zip::MemberRead;>> my $archive = Archive::Zip->new();> die "read error" if $archive->read(shift) != AZ_OK;>> my $fh = Archive::Zip::MemberRead->new($archive, > "META-INFMANIFEST.MF");> while (defined($_ = $fh->getline())) > print...
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10643.html

Re: Using Perl to Read jar file MANIFEST file. by Charlie Garrison - March 5, 2008

Good afternoon,On 5308 at 10:23 AM -0800, Michael Barto <mbartologiqwest.com> wrote:>Has anybody every tried to create a Perl program ro read the >contents of the MANIFEST file in java jar file We are trying >to develop something to provide comparisons for change between >different implementations. Is this a simple Perl backtic, >system or exec of the jar command or is there a more exotic way >to do it Also, we need to extract Checksum. But that seems documented.Did you..
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10642.html

Re: perl 5.10.0 osx 10.5.2 'make' dies at "error: redefinition of 'union semun'" by snowcrash+perl - March 5, 2008

> Well, it&39;s a mystery.:-)> The only other thing I can think of is if somehow> _POSIX_C_SOURCE or _XOPEN_SOURCE are being defined when Configure compiles> try.c (and union semun would not be defined in syssem.h as per POSIX), but> when miniperlmain.c compiles, those macros aren&39;t defined, so union semun is> visible in syssem.h, but by that time HAS_UNION_SEMUN has been define, so> union semun gets redefined.possibly ... checking, neither _POSIX_C_SOURCE or...
http://www.nntp.perl.org/group/perl.macosx/2008/03/msg10641.html
Available Archives
- March (29 items)
- April (10 items)
- May (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact