Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 16:02, Eugene Kosov написав:
Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
T
Doroshok Stanislav wrote:
п'ятниця 08 червень 2007 15:31, Jeff Pang написав:
Doroshok Stanislav 写道:
hi all
I need snmptranslate analog in perl
i use Net::SNMP module but can't find this method.
Try cpan:
http://search.cpan.org/~gbarr/libnet-1.21/Net/SMTP.pm
SMTP?
SNMP - Simple Network M
Thanks . I have a another struggling end .
I need to filter the result by a specific file
extension (like pdf). how can i do it ?
i need to check after upload a file that it should be pdf. if it is not
then i need to display an error that only pdf files need to be uploaded.
regards
alma
"p
Alma Tirkey wrote:
I have a problem with uploading a files in apache webserver.
Its not giving me an error but i am not getting the desired result
what i want. My requirement is to save only the pdf files to the a
directory .
what i am testing is how to get only the filename .
#!/usr/bin/perl
Tom Smith wrote:
Tatiana Lloret Iglesias wrote:
Yes! that's the problem, GET method doesnt allow very very long url's ...
how can I use POST from Perl code? do you have any example?
GET and POST are part of XHTML, not Perl.
Realy? :) I thought GET and POST are methods of HTTP protocol :)
--
Beginner wrote:
Hi all,
Sorry I am sure this is a lame question.
I want to print out some column (with heading) and I want them evenly
spaced. I know this is a printf but the format eludes me.
printf("%c12", $var); # prints $var12$var12
Try %12c (or %12s) instead of %c12 above.
--
To u
000 d0 a2 d0 b5 d1 81 d1 82 0a |ТеÑÑ.|
0009
$ perl test.pl < input
A: d0a2d0b5d181d1820a
B: d0a2d0b5d181d1820a
C: c390c2a2c390c2b5c391c281c391c2820ad0a2d0b5d181d1820a
--
BR,
Eugene Kosov
smime.p7s
Description: S/MIME Cryptographic Signature
wood 2 could a wood 3 chuck 4 chuck
so I want to grab all data between 1 - 2 and 3 - 4 2 different
variables, can this be done?
Yes :-)
Use capturing parenthesis for that, see perldoc perlre
Dani
($var1, $var2) = $str =~ /1(.*?)2.*?3(.*?)4/;
--
BR
Eugene Kosov
--
To unsubscribe, e-mail
Oleg V. Volkov wrote:
"Ron Wingfield" <[EMAIL PROTECTED]> wrote:
[skip]
while (defined($line = )) {
$line =~ s/\r//g;
printf OUTFILEHANDLE ("%s"), $line;
}
Why not this one?
$line =~ s/\r$//;
I didn't see anything about removing ^M anywhere in original
post, only at end of line
I think eval can help you...
See perldoc -f eval.
Kenton Brede wrote:
> I've done some searching and can't find an answer to this. I'd like
> to use a scalar variable in an array name. Something like "@$scalar"
> I've tried different permutations like "[EMAIL PROTECTED]", "@"$scalar""
> "@\$sca
Mr. Shawn H. Corey пишет:
BTW, there is no such thing as a decompiler. At best you may find a
disassembler. That is a program that takes a binary and produces the
assembler code from it.
How about Java decompiler? ;)
--
BR,
Eugene Kosov
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
John W. Krahn wrote:
Following is the subroutine for moving the file
sub copyFile($$) {
Your subroutine _moves_ files, it does not _copy_ files, so why is it named
'copyFile'? You really, really shouldn't use prototypes. If you need to
verify the number of arguments you could do somethi
le to load $datapath/lingua_wordnet.index: $!";
...
Note that $! was empty and there's no error description after colon.
Any thoughts?
Thanks in advance!
--
Regards,
Eugene Kosov
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
13 matches
Mail list logo