Is there a simple way/module to map snmp(MIB) strings to OIDs in perl?
E.g. I start with "sysUpTime.0" and get "1.3.6.1.2.1.1.3.0". As far as I can see, Net::SNMP expects you to have them already mapped.
Hi all,I have using Perl DBI .In that $dbase-tables() will return all the tables in the corresponding database .Like this I want to know the schema's available in the database .Is there any function available for that .
The title says it all. When executing a perl script from the command line how can I ensure that my output doesn't scroll off the screen, In others words how do I mimic the functionality of the unix "more" or "less" functionality.
can you convert this perl code to python code :
$list = $ARGV[0];
open (PASSFILE, "$list") || die "[-] Can't open the List of password file !";
@strings = ;
close PASSFILE;
Thanks
I plan to add a better search feature to my site, so I thought that I would write it in C and use the CGI as a means to access it. But it seems that Perl is the most popular language when it comes to CGI-based stuff. Why is that? Wouldn't it be faster programmed in C or machine code?
What advantages, if any, are there to writing it in a scripting language?
Thanks.
Is it possible to read HTML Web 2.0 Source Code that is dynamically generated ?
The Perl LWP with its agent-response does not pick up any dynamically generated HTML code.
Many websites today are generating dynamic html. If I am shoppping for best prices, and the prices are dynamically fetched and dumped, then I am out of business.
Are we reaching the end of a era?
Dear all,
I just want to transfer ( send or receive ) a hash from client to server.
can you tell me which is a preferable way in perl or can you suggest any cpan modules.
Thanks in advance!
I have using Perl DBI. In that $dbase->tables() will return all the tables in the corresponding database. Like this I want to know the schema's available in the database. Is there any function available for that?
I'm wondering if there is an equivalent to Qt's signal/slot mechanism for Perl. I have looked into POE, but since it's huge, I couldn't find anything useful.
Thank you in advance,
How can i convert a hex string lenght 6 bytes for example string ='1122aaccddff'; with perl
to raw binary data of lenght 8 byes the last 2 bytes shoul be padded with zeros,
Is it possible to load a module at runtime in Perl? I tried the following, but it didn't work. I wrote the following somewhere in the program:
require some_module;
import some_module ("some_func");
some_func;
Specifically, I'm using the linux command:
find . -regextype posix-extended -regex '' ...
I just want to make sure the posix type I'm using is the type Perl uses, since that is by far the one I am most familiar with.
I have a PHP web page, from which I need to call a perl script which executes in a console.
Please consider the possibility of getting the return values back to PHP with this?
Although not mandatory to pass values back to PHP. I want to see the possibilities.
Any help please?
Thanks.
Do we have a preg_callback equivalent in Perl ?
Lets say I want to match something and replace it with the return value of the function that is called with the matched thing.
I have a hex string(lenght 48 chars) i want to convert to raw bytes with the pack function in order to put in in win32 vector of bytes.
could someone help how i can do this with perl ?
I have a hash in Perl which has been dumped into from some legacy code the name of the key has now changed from simply reqHdrs to reqHdrs.bla
$rec->{reqHdrs.bla}
My problem is now I cant seem to access this field from the hash any ideas?
The following is my error
Download Script Output: Bareword "reqHdrs" not allowed while "strict subs" in use
I have a shell script, with a list of shell variables, which is executed before entering a programming environment.
I want to use a perl script to enter the programming environment:
system("environment_defaults.sh");
system("obe");
but I when I enter the environment the variables are not set.
I am using jalava library as a diagram drawing tool.
It displays firgures as images in order to maintain compatibility with majority of browsers.
When diagram block is being resized a request is being made and new gif image is generated and send to browser.
What I need is generating image of basic blocks, like rounded rectangle, circle, diamond with specified parameters (height, width and color).
I want to do all server-side; my server part is written on Perl.
how convert string into Unicode string in Perl.
I am looking some attribute in LDAP which accepts only Unicode string .
So i want to convert normal string to Unicode string
how convert string into unicode string in Perl.
I am looking some attrribute in LDAP which accpets only unicode string .
So i want to convert normal string to unicode string