Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using 64 Bit Perl for Production Scripts.

by pmu (Beadle)
on Apr 18, 2014 at 19:00 UTC ( #1082807=note: print w/ replies, xml ) Need Help??


in reply to Using 64 Bit Perl for Production Scripts.

Revered Monks,

I simply have no words to thank you all for your eagerness to help and provide so much useful information.

The modules I will mostly end up using are:

Net::SSH2 Excel::Writer::XLSX Config::Tiny MIME::Lite List::MoreUtils

kschwab, yes you are right. Win32::SerialPort does indeed fail. On both 32 and 64 bit versions of Perl 5.18. Output given below is for 64 bit, but it's the same for 32 bit. I don't need that module (atleast as of now), but just wanted to see what I get when I try to install it. I have downloaded Strawberry Perl Version 5.18.2.2 (Portable Version) which was released just a few days ago and was eager to try it out. May be, the module expects something to be connected to the serial port, or may be, the module is not able to see a serial port and hence it fails.
C:\perl64_51822>cpanm Win32::SerialPort --> Working on Win32::SerialPort Fetching http://www.cpan.org/authors/id/B/BB/BBIRTH/Win32-SerialPort-0 +.22.tar.gz ... OK Configuring Win32-SerialPort-0.22 ... N/A ! Configure failed for Win32-SerialPort-0.22. See C:\PERL64~1\data\.cp +anm\work\1397846877.6344\build.log for details.

And this is what the log file says

cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x64-m +ulti-thread Work directory is C:\PERL64~1\data/.cpanm/work/1397846877.6344 You have make C:\perl64_51822\c\bin\dmake.exe You have LWP 6.05 Falling back to Archive::Tar 1.96 Searching Win32::SerialPort on cpanmetadb ... --> Working on Win32::SerialPort Fetching http://www.cpan.org/authors/id/B/BB/BBIRTH/Win32-SerialPort-0 +.22.tar.gz -> OK Unpacking Win32-SerialPort-0.22.tar.gz Entering Win32-SerialPort-0.22 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.94) Configuring Win32-SerialPort-0.22 Running Makefile.PL The system cannot find the file specified. Device COM1 does not appear to exist. Testing impossible -> N/A -> FAIL Configure failed for Win32-SerialPort-0.22. See C:\PERL64~1\da +ta\.cpanm\work\1397846877.6344\build.log for details.
-------------------------------------------------------------- Perspectum cognitio aeterna --------------------------------------------------------------


Comment on Re: Using 64 Bit Perl for Production Scripts.
Select or Download Code
Re^2: Using 64 Bit Perl for Production Scripts.
by BrowserUk (Pope) on Apr 18, 2014 at 21:11 UTC
    Device COM1 does not appear to exist

    What output do you get if you type this command into a cmd window?: mode com1


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Hi,

      I get the following:

      C:\Users\pmu>mode com1 Illegal device name - COM1 C:\Users\pmu>
      -------------------------------------------------------------- Perspectum cognitio aeterna --------------------------------------------------------------

        That suggests your machine simply does not have serial ports configured.

        To verify, run msinfo32.exe; click Components->Ports->Serial.

        In the context of this thread, the usability of Win32::SerialPort under 32 & 64 bit Perls is telling you nothing useful.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082807]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-11-24 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls