y 1996)
Sections: 10.5 Content-Type, 7.2.1 Type, 3.6 Media Types
http://www.w3.org/Protocols/rfc1945/rfc1945.txt
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
int. We were inventing many different ways how to do it
in Perl, and forgot that there's a possibility to interact with a human
being. It's a sign, that we spend too much time with machines, with not
enough human-to-human interaction. This kind of getting data is called
social engineeri
"Brett W. McCoy" wrote:
>
> On Thu, 25 Oct 2001, RaFaL Pocztarski wrote:
>
> > You can always use http://www.perldoc.com/ but it's hard to believe that
> > any version of perl comes without perldoc, however I don't know MacPerl
> > at all. Try to
thing if I did't want to comment or answer it?
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
messed up..
When you use eq operator, everything is automatically strigified.
> my brain hurts...long day
That's normal with Perl.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
re you sure you know what's require for?
Read perldoc -f require
http://www.perldoc.com/perl5.6.1/pod/func/require.html
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
%params
is a sorted list of keys in %params hash.
keys %params
is a list of keys in random order.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
works on a lot of other platforms.
See http://testers.cpan.org/search?request=dist&dist=CGI.pm
If you can't extract the tarball, get tar and gzip:
http://www.gnu.org/software/tar/tar.html
http://www.gnu.org/software/gzip/gzip.html
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsu
the entire
file into your $buffer, instead use this code:
{ local $/; $buffer = }
If your file is very big then maybe you should process it line by line:
while(){
# do something with the line in $_
}
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROT
t
> though.
You can always use http://www.perldoc.com/ but it's hard to believe that
any version of perl comes without perldoc, however I don't know MacPerl
at all. Try to find any info about perldoc in MacPerl docs or website.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail:
s the idea I suggested work for you?
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
physical path to your directory, where you have
your secret files. That way only localhost is allowed to view those
files. Is that what you need?
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Shannon Murdoch wrote:
>
> What everyone has said so far is ways to list all the VALUES contained in a
> hash array, what I need to do is list all the KEYS contained in the hash
> array-with a tab (\t) between each.
print join "\t", sort keys %hashname;
- RaFaL Poczta
good to have an online searchable database of this
> > newsgroup, so you don't have to download every message to see if your
> > question has already been answered a few days or weeks ago! =)
There is archive of this mailing list here:
http:[EMAIL PROTECTED]/
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
my include path.
Run this command from your server's shell:
perl -e 'print"@INC\n"'
and if you see only a dot, than contact your admin and ask about it. If
you get "Can't locate CGI.pm" with a valid @INC, then you have to
install CGI.pm, download it fro
8/21/templating.html
See also:
http://www.engelschall.com/sw/eperl/
http://perl.apache.org/embperl/
http://www.masonhq.com/
http://www.apache-asp.org/
> Use this as postfix for the generic perl-script to say the
> perl-script is done.
is already used for HTML comments.
- RaFaL Pocztarski
an help you, and in fact I do
it quite often, contact me and I'll tell you my rates.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tom poe wrote:
> #!/usr/bin/perl -w
> print "Content-type: text/html\n\n";
> print "Hello World";
> $pwd = `pwd`;
> print "The Password is: $pwd\n";
>
> The single quotes around pwd on the right side of the = sign, are actually
> back-tics.
This won't work if the server doesn't chdir to director
every message in the same place, with only different
subject. And most of them are about Perl so "[Perl]" in the subject
wouldn't help much anyway.
> do u know another perl mailing list...?
This one is only for CGI-related beginners Perl problems.
See http://lists.perl.org/ for more li
ix{@keys};
Is that what you need? In Perl 5 the funny character ($, @, %) means
what the expression evaluates to. Hash slice is a list, so it starts
with @ sign. However in Perl 6 this will change.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ons.jpg";
> print header, start_html(-title=>"$TITLE", -background=>"$WALL"),
It's not a Perl but HTML question. When a browser gets
it will try to download
http://www.hostingohio.com/home/admin/hostingohio-www/balloons.jpg
not
http://www.hostingohio.com/bal
Dave Newton wrote:
> RaFaL Pocztarski wrote:
> > [EMAIL PROTECTED] wrote:
> >> I need to parse out all http links stored in a local file.
> > You mean HTML links.
>
> Actually, while the answer doesn't change, we don't know that
> this is what he meant.
ught the links I gave you was what you
needed. Maybe using some cheap old box with Linux, Apache, perl etc., as
a second machine for testing would be a good solution for you? Just an
idea, I probably would do so if I couldn't have Apache and perl on my
desktop machine.
- RaFaL Pocztarski, [EMA
g Mac OS X than probably you should be able to use
source distribution:
http://www.perl.com/pub/a/language/info/software.html#stable
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
erent bits of info and confirming).
use CGI::Application;
http://search.cpan.org/search?dist=CGI-Application
Read "Using CGI::Application" article for good explanation and examples:
http://www.perl.com/pub/a/2001/06/05/cgi.html
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscrib
n
white space character (the /\S/ pattern matches) in the answer (that way
it will keep asking if someone enter only space or tabulator, etc.).
chomp strips the newline ("enter") character at the end of $name.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
r from:
http://search.cpan.org/search?dist=HTML-SimpleLinkExtor
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Gareth Londt wrote:
> can someone please help me with this problem?
Well... It strongly depends on your problem.. :)
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ams{q100}"; # 100 times
"Perl is designed to give you several ways to do anything, so consider
picking the most readable one." - Larry Wall
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ache-Htpasswd
Apache::Htpasswd module is great for interaction with Apache .htpasswd
files, but it's also great for manipulating passwords not used by
Apache.
Also use taint mode (-T switch), like this in shebang line:
#!/usr/bin/perl -wT
in your scripts, it will help you to make them safer.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
See also perldoc CGI:
http://www.perldoc.com/perl5.6.1/lib/CGI.html#CREATING-STANDARD-HTML-ELEMENTS-
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ose the
file. That way you won't fall into an infinite loop and your file will
be locked shortly, so the other processes won't have to wait very long
for their locks.
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it:
delete $ENV{PATH};
For more datails, see also:
perldoc perlsec
(search for section titled "Cleaning Up Your Path")
Or better, use Mail::Sender, it doesn't need any external programs.
http://search.cpan.org/search?dist=Mail-Sender
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
Eric Wang wrote:
> Where do I get some of these cool modules like www, DBI... etc?
http://search.cpan.org/
> and is there a module to write gui programs using perl in win32
> environmrnt? (WINNT or 2k)
http://search.cpan.org/search?dist=Wx
http://www.wxwindows.org/
- RaFaL Pocztarsk
RaFaL Pocztarski wrote:
> Chris Spurgeon wrote:
>
> > (...) It strikes me that this
> > could have been more elegantly done with some sort of recursive function,
> > but I couldn't figure out how. Any ideas?
>
> (...) And now, my suggestion:
>
> 8&l
o any
number you want, but more than 40 can take centuries, so prepare for
waiting. ;)
> Thanks in advance, one and all,
> here's my original code
> (...)
You should consider participating in Obfuscated Perl Contest. :)
- RaFaL Pocztarski, [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
guess using the most common password cracking techniques. If you only
check string length then someone can use something like abcdefgh or a
word from dictionary which can be long but very easy to guess.
You can find more info about Cracklib on Alec Muffett's home page:
http://www.users.dircon.co
37 matches
Mail list logo