Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: MediaWiki::API->upload() problem

by spekulum (Initiate)
on Sep 27, 2011 at 20:10 UTC ( #928170=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $response = $response->content() if($response->is_success());
    die Dumper($response);
    
  2. or download this
    $ perl test.pl
    $VAR1 = '▒PNG
    
    ...
                        ▒a cHRMz&▒▒▒▒▒
    +u0&#9618;`:&#9618;p&#9618;&#9618;Q<!IDATWc&#9618;
    &#9618;*1&#9618;&#9618;Ig&#9618;
    &#9618;&#9618;&#9618;+(&#9618;&#9618;K&#9618;&&#1432;IEND&#9618;B`&#96
    +18;';
    
  3. or download this
    $response = $response->decoded_content() if($response->is_success());
    die Dumper($response);
    
  4. or download this
    $ perl test.pl
    $VAR1 = '&#9618;PNG
    
    ...
                        &#9618;a cHRMz&&#9618;&#9618;&#9618;&#9618;&#9618;
    +u0&#9618;`:&#9618;p&#9618;&#9618;Q<!IDATWc&#9618;
    &#9618;*1&#9618;&#9618;Ig&#9618;
    &#9618;&#9618;&#9618;+(&#9618;&#9618;K&#9618;&&#1432;IEND&#9618;B`&#96
    +18;';
    
  5. or download this
    $response = $response->content() if($response->is_success());
    $response = utf8::downgrade($response);
    die Dumper($response);
    
  6. or download this
    $ perl test.pl
    $VAR1 = 1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928170]
help
Chatterbox?
[vedagiri89]: that is what i can't getting solution
[vedagiri89]: recently purchased centos server and doing migration of app
[choroba]: did you copy any dependencies?
[choroba]: all XS code needs to be recompiled
[vedagiri89]: install perl5.16 in the new server and try to run appache
[hippo]: Which version of CentOS?
[vedagiri89]: how to fix: Attempt to reload DynaLoader.pm aborted
[hippo]: Ah, presumably 7 then.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-06-19 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?