[OT] perldoc typo

2006-08-24 Thread Klaus Jantzen
I would like to inform whoever feels responsible for perldoc that the output of perldoc -f filehandle contains a small typo. Before anybody says "it does not work" here the the info: Line 85 should say "$fh = IO::Handle -> new();" i.e. the dash of the arrow is missing -- K. Jantzen -

Re: line command in perl

2006-08-24 Thread Dr.Ruud
Robin Norwood schreef: > Timothy Johnson: >> -f is for internal functions. > > I've wondered for quite a while why 'perldoc ' doesn't 'do what I > mean' and search for as a built in funtion, then the module. > Anyone know what the reason is? You can shell-script it yourself of course: perldoc

pack function

2006-08-24 Thread Alexander Müller
Hello, I am currently trying to understand the TripleDES code and found the following line my @kvs = PPDES::des_set_key( pack( "H*", substr($passphrase, 16*$_, 16 ))); which apparently processes a 16 characters large block with the pack() function. Now I would like to know what it exactly doe

Re: [OT] perldoc typo

2006-08-24 Thread Tom Phoenix
On 8/24/06, Klaus Jantzen <[EMAIL PROTECTED]> wrote: I would like to inform whoever feels responsible for perldoc You may use the perlbug program to send bug reports for Perl, its utilities, and its documentation. Send a patch, if you can. output of perldoc -f filehandle Huh? Ther

Perl and CGI

2006-08-24 Thread hOURS
Hi all, CGI scripts can be written in PERL, right? I thought I had done so properly for our website, but it isn't working. I have an HTML form whose "ACTION" specifies the script I wrote, located in the "cgi-bin" folder I made. That file has PERL code to handle the data from the form, then H

Re: pack function

2006-08-24 Thread Tom Phoenix
On 8/24/06, Alexander Müller <[EMAIL PROTECTED]> wrote: But what happens if the passed string contains non-hex values like space or even "G"? What happened when you tried it? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Perl and CGI

2006-08-24 Thread Tom Phoenix
On 8/24/06, hOURS <[EMAIL PROTECTED]> wrote: CGI scripts can be written in PERL, right? For at least ten years, yes. I thought I had done so properly for our website, but it isn't working. You need to have a properly configured webserver. Check with your local expert, or somebody else who

sssh bang problem

2006-08-24 Thread John Ackley
script runs as expected from command line - user root fails when launched by Apache - user nobody # perl -c plot.cgi Args must match #! line at plot.cgi line 1. where did I go astray? script is owned by root with suid set -rwsr-sr-x 1 root wheel 5415 Aug 24 11:42 plot.cgi -- To unsubscri

Re: sssh bang problem

2006-08-24 Thread Tom Phoenix
On 8/24/06, John Ackley <[EMAIL PROTECTED]> wrote: Subject: sssh bang problem Cool. It's been a long time since we've gotten a problem with sound effects. # perl -c plot.cgi Args must match #! line at plot.cgi line 1. This message is covered in perldiag: (F) The setuid emulator requ

Re: sssh bang problem

2006-08-24 Thread John Ackley
Tom, thanks info. I asked Google to find "Args must match #! line' - it failed - I did not think about perldiag - hopefully I will remember next time! I appreciate your concerns about security and just note that the server is located on a private network reachable only via the LAN and the script

Re: [OT] perldoc typo

2006-08-24 Thread Mathew
Tom Phoenix wrote: On 8/24/06, Klaus Jantzen <[EMAIL PROTECTED]> wrote: I would like to inform whoever feels responsible for perldoc You may use the perlbug program to send bug reports for Perl, its utilities, and its documentation. Send a patch, if you can. output of perldoc -f fi