Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl Hangs On New Machine

by MidLifeXis (Monsignor)
on Nov 13, 2012 at 20:38 UTC ( #1003704=note: print w/replies, xml ) Need Help??


in reply to Perl Hangs On New Machine

Are you missing parts of your code above? Specifically, where is POST defined?

--MidLifeXis

Replies are listed 'Best First'.
Re^2: Perl Hangs On New Machine
by redfieldp (Initiate) on Nov 14, 2012 at 17:09 UTC

    POST is defined earlier in the file, as follows:

    use HTTP::Request::Common qw(POST);

    There is other content in the file (it's a sizeable script), but using print, I've determined this is where it hangs. Keep in mind that, as I mentioned, the same script runs fine on another box. Any thoughts would be much appreciated!

      Doesn't happen :) Although you could use perl -d:Trace prog.pl ...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003704]
help
Chatterbox?
[Corion]: jthebarg: There is the switch keyword if you want that, but maybe a dispatch table is closer.
[Corion]: If by "case" you meant "case-insensitive ", see fc, uc and lc and perlop on the /i flag ;)
Corion waves to virtualsue
[virtualsue]: I have made a post for the first time in ... years
[marto]: hey virtualsue!
Eily thought about Neko Case first, something might be wrong with my brain's wiring
[virtualsue]: I recommended dbic-migration even though I am having trouble with it this week. It might be my fault.
[ambrus]: wow! I haven't seen you here for a long time, virtualsue
virtualsue waves back
[Eily]: it would have been 2 years in 2 weeks actually. And welcome back virtualsue :)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (14)
As of 2017-09-26 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?