Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Problem with getSaveFile in 'pp'-mode

by marto (Chancellor)
on Mar 09, 2013 at 18:58 UTC ( #1022612=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Problem with getSaveFile in 'pp'-mode
in thread Problem with getSaveFile in 'pp'-mode

Sorry, not my day. You want to call pp with -x. See the pp documentation. Note that this is lowercase rather than uppercase x. Go ahead and add -x to your pp arguments and test the resulting executable


Comment on Re^3: Problem with getSaveFile in 'pp'-mode
Download Code
Re^4: Problem with getSaveFile in 'pp'-mode
by jowe (Acolyte) on Mar 10, 2013 at 15:18 UTC
    Tried it with the lowercase-x-option. This is the result:
    XS_Tk__Callback_Call error:must specify one of -data, -file, -array or + -id at Tk/Image.pm line 21. Tk::Error: must specify one of -data, -file, -array or -id at Tk/Image +.pm line 21. Tk callback for image Tk::Image::new at Tk/Image.pm line 21 Tk::Image::__ANON__ at Tk/Image.pm line 63 Tk::FBox::Update at Tk/FBox.pm line 404 Tk::After::once at Tk/After.pm line 90 [once,[{},after#13,idle,once,[{},Update]]] ("after" script)
Re^4: Problem with getSaveFile in 'pp'-mode
by jowe (Acolyte) on Mar 10, 2013 at 16:34 UTC
    I ran it with the lowercase-x-option. That does not seem to cure it. However, running with the uppercase-C-option and lowercase-x-option - that combination finally worked.
    In my opinion, the uppercase-C-option cleans-up the temp-files at runtime once the application terminates. Shall this be reported as a 'bug' (in this case I would not know who to contact) or should it be silently accepted? What is your advise?

      Good work! Can you create a minimal example, providing nothing more than the code required to replicate this problem, then the two pp calls that generate the different outcomes? I'm not at home right now but will test this on multiple platforms using the same version of the modules in question. The last time I suggested someone use -x to solve this problem they were under the impression that this should be the default, or at least display a message at run time explaining things. I suggested that they raise this with the maintainers, but it doesn't look like this has happened. Perhaps we can address this concern.

        Could you please use the code snippet as well as the pp-command from my initial message.

      Shall this be reported as a 'bug' (in this case I would not know who to contact) or should it be silently accepted? What is your advise?

      Well, many folks have trouble with pp, its just not simple enough, but no, its not very likely that you've found a bug

Re^4: Problem with getSaveFile in 'pp'-mode
by jowe (Acolyte) on Mar 10, 2013 at 16:38 UTC
    Sorry, it should actually read: "uppercase-C-option OFF and lowercase-x-option ON".

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-08-30 23:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls