Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Troubles with getting NYTProf to work properly in a CGI program

by ted.byers (Monk)
on Feb 22, 2013 at 04:44 UTC ( #1020066=note: print w/replies, xml ) Need Help??


in reply to Re^3: Troubles with getting NYTProf to work properly in a CGI program
in thread Troubles with getting NYTProf to work properly in a CGI program

That's what I'd missed.

It ignores the path for the output file I'd specified, but that's OK, as I found it anyway.

Thanks

Ted

  • Comment on Re^4: Troubles with getting NYTProf to work properly in a CGI program

Replies are listed 'Best First'.
Re^5: Troubles with getting NYTProf to work properly in a CGI program
by Anonymous Monk on Feb 22, 2013 at 04:52 UTC

    Well :) you used the delimiter character : without escaping it, as part of the filename

    I imagine  file=C\:/....../ would work

Re^5: Troubles with getting NYTProf to work properly in a CGI program
by Anonymous Monk on Feb 22, 2013 at 04:56 UTC

    And while escaping might work, I think it is a bit of a bug (at least a documentation bug)

    OTOH, if it accepted something standard like JSON the parsing is greatly simplified

    export NYTPROF='{"start":"init","file":"C:/..."}'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020066]
help
Chatterbox?
[Corion]: hippo: Oooh, that sounds quite nice - let me read the documentation on that :)
[hippo]: https://www. postgresql.org/ docs/current/ static/auth- methods.html#AUTH- TRUST
[erix]: or compile & run an instance as yourself (not user 'postgres')
[erix]: easiest setup is to run with PG* env variables set, and a custom .pgpass files (can be a $PGPASSFILE)
[Corion]: Hmm - "trust" sounds interesting, but I have still to find whether I can restrict that on a per-DB level ;)
[Corion]: erix: Sure, but SQLite doesn't even need that :)
[hippo]: Corion: Yes, you can. It's all in the pg_hba.conf
[erix]: yeah, but there is a lot SQLite cannot do :)
[hippo]: Database is the 2nd column.
shmem .oO( docker. docker. docker? docker. docker! docker )

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2018-02-23 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (302 votes). Check out past polls.

    Notices?