On Thu, 26 Jan 2017 18:45:47 GMT, ryan.royal@airbus.com wrote: > The EOL characters in .pm files needed to be converted from <CR> to > <LF> in notepad++ before a true value could be detected by 'use'. > > Even though the package ended with a "1;" > > > Thanks! > > =========================== OS ============================ > Windows 7 Enterprise > Intel Xeon CPU > 32 GB Ram > > > ========================== code in Elem.pm > ============================ > package Nastran::Elem::CROD; > use Moose; > > has 'id', is => 'ro'; > has 'forces', is => 'ro'; #array of arrays [SC, load] > > #make 'max_min_case' method specific to CROD elem_IDs > sub max_case { > my $self = shift; > my @Sorted = sort { $a->[1] <=> $b->[1] } $self->forces- > >@*; > return $Sorted[-1]->[0]; > } > > 1; > > ========================== version =========================== > Strawberry Perl > > PS C:\Home\RRoyal02\MyPrograms\perl\bin> perl5.24.0 -v > > This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32- > x64-multi-thread > > Copyright 1987-2016, Larry Wall > > Could you attach to this ticket (or attach to your email response) a small file created with Notepad that demonstrates this problem? That will enable a better diagnosis of the problem. Thank you very much. -- James E Keenan (jkeenan@cpan.org) --- via perlbug: queue: perl5 status: new https://rt.perl.org/Ticket/Display.html?id=130652Thread Previous