Monday, May 24, 2010

BlackBerry Perl plans and voice calling plans conundrum...?

I was working online to see if I could get a BlackBerry Perl from Cingular Wireless, and the only plan that they would let me apply to it was a plan for the BlackBerry Data plans.





Do you need a regular voice calling plan from Cingular Wireless to make regular phone calls and text message and other things with a BlackBerry?





I'm thinking that the answer will be yes, but I would love some insight into the details of this, and insight as to why they only offer the BlackBerry plan instead of a voice plan also on the website.

BlackBerry Perl plans and voice calling plans conundrum...?
The website must not have been working right. I work for Cingular and you can get any plan you want. You do not need a voice plan to make calls, however you will charged a per use rate and unless your usage is at a vast minimum I would suggest getting a voice plan. Voice plans start at $39.99 and data plans for Blackberrys start at $29.99 for email/internet and you can text messaging plans on top of that for as low as $4.99. Just call in or go to a local store and they can explain it a 100% better than the website can.

garden ridge

Where i can learn perl online for free?

Go to http://learn.perl.org/


You get all the stuff related to PERl.

Where i can learn perl online for free?
At http://learn.perl.org/


Should I learn perl or php?

I know perl and have used it extensively as a scripting language. I am using XAMPP and am practicing web design. Is it worth learning PHP or should I stick with perl? Which is easier to pick up in terms of web development on xampp? Thank you.

Should I learn perl or php?
PHP
Reply:I agree. PHP is the go.
Reply:Learn PHP too; it's good to have multiple languages.
Reply:ya PHP is better





for learning PHP here is some good links for you [ video tutorials]





http://www.learningnerd.com/php-basics





--------





and here is a list of more video tutorial sites very helpfull





http://free-php-video-tutorials.blogspot...





http://www.killerphp.com/





http://www.video-tutes.com/index.php





http://www.phpvideotutorials.com





http://more-php.blogspot.com
Reply:Take my advice .. PHP the best .. and i don't say that coz i am programming by php All that coz php is greate language you can to learn it.


I have installed PERL how do I open the software??

Open what software?


If you have a Perl program, say it's in the file myprogram.pl, you can run it like this:





C:\%26gt; perl myprogram.pl


How to move or rename multiple files in perl script?

I have a scipt where in i have to move all files with a given prefix, to a different directory from its existing directory, how do i rename or move the files without changing the file name but at the same time moving it to a different directory

How to move or rename multiple files in perl script?
If I understand correctly, you need to move all files that have the prefix $prefix from the folder $startFolder to the folder $endFolder.





If I were doing this, I would execute a shell command. Are you running this on a unix system? If so, then you want:


`mv $startFolder/$prefix.* $endFolder`


If it's windows/dos, you want:


`move $startFolder/$prefix.* $endFolder`

flowers for algernon

PERL: how do i create a new file to output data to??

print("filename :: ");


chomp ($name = %26lt;STDIN%26gt;);





$newfile = "$name.txt";


open(FILE, "$name.txt") or die "Couldnt open file.";





i want $name.txt to be created so i can write information to it from this perl program. Can anyone shed any information??


Thanks.

PERL: how do i create a new file to output data to??
In Perl, open by default opens for READING.





You can explicitly say whether you are reading or writing, by placing a greater-than or less-than character in front of the filename:





open FILE, "%26lt;${name}.txt" (open for read)


open FILE, "%26gt;${name}.txt" (open for write)


open FILE, "%26gt;%26gt;${name}.txt" (open for append)
Reply:Jay here is your link





http://www.google.co.uk/search?hl=en%26amp;q=I...
Reply:To create (over-writing if it exists) the file, use:





open (FILE, "%26gt;", $filename) || die "Could not open file $filename";





To append to the file, use:





open (FILE, "%26gt;%26gt;", $filename) || die "Could not open file $filename";





You should get in the habit of using the three argument form of open. If you use the two argument form and allow users to provide their own filenames, you are potentially opening a security hole.





For example:





open (FILE, $filename);





Imagine if the user provides a filename with a '%26gt;' as the first character. Depending on the unix permissions, they can potentially truncate arbitary files on your system.


What is the perl command for counting words? I have a scalar assigned. Provide an example for best answer.?

okay, so I have a website that is posting a scalar of information. I want to open the scalar and count the number of words and then tell me how many words. If you give me a good example of how you use it I will give you the best choice points.

What is the perl command for counting words? I have a scalar assigned. Provide an example for best answer.?
my @list = split(/\s*/, $your_scalar);


my $word_count = $#list;
Reply:Counting the Words in a Text





Use wc with the `-w' option to specify that just the number of words be counted and output.





To output the number of words in the file `story', type:


$ wc -w story [RET]





To output counts for several files, first concatenate the files with cat, and then pipe the output to wc.





To output the combined number of words for all the files with a `.txt' file name extension in the current directory, type:


$ cat *.txt | wc -w [RET]





more info at the site below


I need to learn perl?

I have no programming experience and I've been told that Perl is probably one of the easier languages to learn. As a complete novice what is the best way to begin. I'm working on a PC.

I need to learn perl?
google for perl tutorial


few picks:


http://www.comp.leeds.ac.uk/Perl/start.h...


http://www.tizag.com/perlT/
Reply:My opinion is that the most easy to learn programming language is PHP.
Reply:Easiest?





That is debateable, but do not expect any language to be easy. PERL is quite a complex language and even people that have used it for several years still find new things to learn about it.





I would try learning JavaScript if I were you as you can apply some of what you learn to PERL when you are feeling a bit more confident.





All languages can appear complex at first until you understand their general structure and what they are capable of.


Is there any reason to learn Python, Perl or PHP ... or should I learn Ruby on Rails instead?

What do you think will dominate?

Is there any reason to learn Python, Perl or PHP ... or should I learn Ruby on Rails instead?
I started out as a perl developer about 10 years ago then moved to python and now I am developing in php. In my area, there isn't much of a demand for perl or python developers, only php. As it stands right now PHP is the dominate language and probably will be for quite some time.
Reply:PHP and RoR aren't languages. Ruby, Python and Perl are. Why not learn all 3? It's good practice to learn at least one language a year and as these are all scripting languages they can be extremely useful for all sorts of stuff, including build scripts and automating tasks.





I'd suggest you learn Ruby tbh, Perl is very diffucult in comparision, and obfuscated.





All 3 are very worthwhile learning, but start off with Ruby in my opinion, much less of a learning curb and will help you understand and code in Python and Perl. Plus Ruby has some awesome learning aids such as _why's poignant guide to ruby and hackety-hack (see links).





Have fun learning!
Reply:PHP, mysql are taking lots of the market being free does that...so I'd at least take PHP...
Reply:Take php. It's useful to keep you're HTMLs secure and it's not terribly difficult. Also it's free and very popular. Perl is also very popular but I haven't learned it yet so I don't know if it's useful or not. My advice is at-least learn php. Also you should realise that knowing alittle bit of all of those languages is great for experience and gives you more ideas about what you can do. It might be useful to learn all of them at-least in part and them concentrate on learning a few fully.

business cards

How do you use perl?

i want to use the code thing thats called perl?


can anyone help?

How do you use perl?
I am assuming you are not a programmer. Here is a link to a "Non Programmers Intro to Perl"
Reply:You should read up on the basics of perl...that question is very general. See http://en.wikipedia.org/wiki/Perl for more information.


I am working in perl ,how to improve my career and to get job in mnc's?

i am working in perl ,how to improve my career and to get job in mnc's

I am working in perl ,how to improve my career and to get job in mnc's?
you don't

birthday cards

How do you password protect a web page?

How do I password protect a webpage?


I have a website that is fully accessible but would like to create some hidden pages for clients to access. These pages should be password protected so they are private.I don't necessarily need to have them encrypted or anythign fancy if that happens to be difficult.





I want to be able to load new information to these pages and I will email the people for them to check the new stuff.





How do I do this? I use dreamweaver and have no programming knowledge except basic HTML stuff.





Please help. Walk me through every step.





Additional Details





20 minutes ago


I use WIndows XP Professional SP2 and the server uses Linux.





It also states extra stuff-


It has Apache version 1.3.37 (UNIX)


Perl Version 5.8.5





I don't know any of that stuff how that works. I don't know what PHP is....I am not a programmer, I work on visual stuff so this is alllllllllllll new to me.

How do you password protect a web page?
THis needs to be configured in the Web Application Server (For example IIS or Apache)





Generally, there is a keyword like PROTECT that would invoke password checking routines.





You will need to know how to configure a Web Application Server to make this happen, unless oyu want to do fancy programs to have your programs check and validate users.
Reply:Sorry man. You kind of must learn PhP. It's not that hard if you know CSS.
Reply:Find a tutorial on how you edit your .htaccess file to pw protect pages. if the server uses cPanel, then you can do it there.
Reply:put an ".htpasswd" file somewhere in the site containing the user and password in this format:





user:pass








then put an ".htaccess" file in the site root directory with the following content:





AuthUserFile PATH_TO_HTPASSWD_FILE


AuthType Basic


AuthName "PANEL DESCRIPTION"


Require valid-user





%26lt;Files .htaccess%26gt;


order allow,deny


deny from all


%26lt;/Files%26gt;





of course this is not the safest method... for more documentation, search the web a little about the usage of those two files


Where can i download computer language PERL?

www.perl.com/pub/a/language/info/softwar...


www.perl.com


O'Reilly Network.oreilly.comSafari Bookshelf.Conferences. Sign In/My Account | View Cart


Articles Weblogs Books Learning Lab News


advertisement


Where 2.0 Conference June 13-14, 2006, San Jose, CA








Search








Advanced Search »





Perl.com





Downloads





Documentation





CPAN Mirror





FAQs





Training





Resources





Article Archive





O'Reilly Books





Search








Perl Columns





P5P Digest





P6P Digest





Perl Success Stories





Sites


codezoo.com


Databases


Digital Media


Emerging Telephony


LinuxDevCenter.com


MacDevCenter.com


Mozilla DevCenter


ONJava.com


ONLamp.com


Apache


BSD


MySQL


PHP


Python


Security


OpenP2P.com


Perl.com


Policy DevCenter


Ruby


SysAdmin


What Is…


WindowsDevCenter.com


Wireless DevCenter


XML.com


WebServices.XML.com





Affiliate Sites


LinuxQuestions.org


OSDir.com


Servlets.com





Atom 1.0 Feed RSS 1.0 Feed RSS 2.0 Feed





Related O'Reilly Books





* Perl Hacks


* Learning Perl


* Perl Testing: A Developer's Notebook


* Perl Best Practices


* Advanced Perl Programming


* Perl 6 and Parrot Essentials


* Perl Debugger Pocket Reference


* Perl Template Toolkit


* Spidering Hacks


* Mastering Perl for Bioinformatics





More »














Downloading the Latest Version of Perl


by Tom Christiansen


Contents of this document





* Source Code Distribution


o Stable Production Release (Current Version)


o Experimental Developer's Release (Upcoming Version)


o Previous Releases (Legacy Version)


+ Source License


* Binary Distributions


o Unix, Linux


o Win32


o Macintosh Classic


* Getting Help





Overview





Perl is Open Source software. You can download it for free as a source code or as a pre-compiled binary distribution.


Perl Source Code Distribution





Use the instructions below to download the complete Perl source code distribution via your Web browser. On CPAN, you will find Perl source in the /src directory. The source code is distributed as either a Unix-style tar archive compressed by GNU zip (gz) or as a PC-style ZIP archive. (The only difference is the type of archive; the same source code files are inside the archive.





Once you download the gzip or zip archive, extract the source code files from the distribution and then follow the instructions on how to compile the source code for your system. If you don't have a compiler, or are unclear about compiling source code, then look first for a binary distribution of Perl.





Please note that we merely distribute Perl here. We neither develop it nor support it. Please consult the appropriate README and INSTALLING files if you have trouble configuring, compiling, and installing Perl.


Stable Production Release





The current version of Perl is 5.8.8. This is a stable, tested release that you should use in production environments.


DOWNLOAD Stable Release from CPAN/src


Get source for Unix and Windows systems stable.tar.gz archive





This version is a stable, production release that compiles out of the box for virtually all flavors of Unix (its native environment), plus VMS, OS/2, and 32-bit Microsoft platforms as well.


Experimental Developer's Release





The developer's release of Perl is currently at version 5.9.3. The developer's release is purely experimental. It is intended for particularly brave developers who want to get close to the front lines of Perl development. (If you want the current development sources, see the "Keeping in sync" section of the file pod/perlhack.pod. Please note that this is bleeding-edge code and requires you to know what you are doing.)


DOWNLOAD Developer's Release from CPAN/src


Get source for Unix and Windows systems devel.tar.gz archive


Previous Versions of Perl





For the faint of heart, the previous version of Perl is the 5.6.2 release. Timid souls who are afraid to upgrade to the current release might want this.


DOWNLOAD Last Release from CPAN/src


Get source for Unix systems perl5.6.2.tar.gz archive


Source Licence





Perl is Open Source software. It's free for you to download and use as you wish. Perl's license is the Artistic license. Read it if you aren't sure what you can or can't do. The bottom line is that this is a kinder and gentler version of the GNU license -- one that doesn't infect your work if you care to borrow from Perl or package up pieces of it as part of a commercial product!


Binary Distributions





Binary distributions of Perl are available for various platforms, including Win32 (Windows NT/95/2000/XP), Mac, and Unix. Please read all documentation that comes with each package, as one distribution for a given platform may be very different than another for the same platform (for example, it may include different add-ons, be compiled from a different version of Perl etc.)





Generally speaking, CPAN doesn't distribute Perl binaries. It does provide information in the /ports directory that will point you to sites that maintain binary distributions for specific platforms.


Perl for Win32





ActivePerl is the long-awaited "merge" of the two popular Perl Win32 ports. These binaries are intended for anyone using a modern version of Windows. While you can download older Win32 binaries from CPAN, we recommend that you download ActivePerl from ActiveState.





ActivePerl includes:





Perl for Win32: A binary of the core Perl distribution.





PerlScript: ActiveX scripting engine, like JavaScript or VBScript with a Perl brain.





Perl Package Manager: Use the Perl Package Manager (PPM) to view and install the large collection of modules and extensions that are available in binary packages at the ActiveState Package Repository.


DOWNLOAD Win32 Binaries from ActiveState


Go to the ActivePerl page at Activestate.com: ActivePerl





If you have problems installing ActivePerl, please see the ActiveState site for support information.





PXPerl is another distribution of Perl for Windows users. It includes many CPAN modules, the Pugs Perl 6 implementation, and Parrot, the virtual machine intended to run Perl 6. Even better, all of these packages work together nicely so you can run Perl 6 code with Perl 5 code and Parrot code all together. It is also possible to install CPAN modules (if you have one of the supported compilers.)


DOWNLOAD PXPerl Win32 Binaries


Go to the PXPerl page: PXPerl


Perl for the Macintosh





Mac OS X distributes a modern version of Perl, so you already have it. (If you want to upgrade, you can build the Unix source if you have the developer tools installed.)





For Macintosh Classic users, there are two ways to get Perl. MacPerl is the classic Perl port to Mac OS Systems 7 through 9. Lamp is a project to create a Unix-like environment on Mac OS before Mac OS X. It includes a port of Perl 5.6.1 and has frequent updates.


DOWNLOAD Macintosh Binaries from MacPerl


Go to the MacPerl page: MacPerl


Download Lamp (Lamp Ain't Mac POSIX): Lamp


Perl for Unix





Perl was originally envisioned and written for Unix. Perl will build on almost all Unix platforms and its variants, such as Linux. As far as which Unix variants Perl will compile on, Larry says "I'm not sure there are any unsupported versions of Unix, except on machines without adequate address space such as PDP-11 or i286, and perhaps some old versions of Unix that are no longer supported themselves."


DOWNLOAD Unix Binaries from CPAN


Go to the CPAN /ports list to locate a binary: List of Ports


Alien Ports





If you want to run Perl on a non-native system, then have a look at the /CPAN/ports/ directory. Note that the standard Perl distribution compiles even on most closed-source systems now, so the ports directory is of somewhat limited utility for them.


Getting Help





If you need help, here are some suggestions.





* If you encounter problems configuring, compiling, or installing Perl from the source kits, please read the README in the source directory. Besides including important tips for various platforms, they also document where to send mail if you still have build difficulties.


* If you have problems downloading via ftp, try our CPAN web mirror instead.


* If you still can't get the download or the unpacking to work, contact your local systems administrator (not Perl.com staff) for help with your local system. Also, try to contact other Perl users in your organization or your community for help.


* If you have issues with the ActiveState port, please contact them directly.





What Now?





After you have Perl configured and installed, what can you do with it? Perl.com has several articles for novices, including:





* Beginner's Introduction to Perl (first of a series of six)


* FMTYEWTK About Mass Edits In Perl


* Perl Command-Line Options


* Perl's Special Variables


* Regexp Power


* Power Regexps, Part II


* Maintaining Regular Expressions


* Perl Slurp-Eaze


* Hidden Treasures of the Perl Core


* Hidden Treasures of the Perl Core, part II


* The Many Dates and Times of Perl


* Database Programming with Perl


* Making Sense of Subroutines


* Perl Debugger Quick Reference


* Ten Essential Development Practices


* How to Avoid Writing Code











Sponsored By:











Contact Us | Advertise with Us | Privacy Policy | Press Center | Jobs | Submissions Guidelines





Copyright © 2000-2006 O’Reilly Media, Inc. All Rights Reserved.


All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.





For problems or assistance with this site, email help@oreillynet.com

Where can i download computer language PERL?
Actually, the first line of his post answered your question.





http://www.perl.com/download.c... Report It

Reply:search in the net.. believe me it works..
Reply:www.activeperl.com
Reply:search on google.


Can someone trade me a deoxys,ho oh,pelika or mew i can give :Tyranitar,mewtwo or entai at dimand or perl?

or we could just meet at dimand or perl plz give me ur friend code


PS i mai nat respond too quik

Can someone trade me a deoxys,ho oh,pelika or mew i can give :Tyranitar,mewtwo or entai at dimand or perl?
My Pokemon Diamond CODE is Trainer: Luke - 5069 1247 6776 please add me on pal pad.
Reply:ill give you a deoxys and mew for the mewtwo and the entei ok just email me at adamykelly@yahoo.com


In Perl, how can I make a sum out of only certain members of a table, PLEASE, PLEASE?

I have a table of 14 columns, %26amp; I need to sum the first two. Can anyone help me telling me how can this be done????????


HELP-MESSAGE-IN-A-BOTTLE

In Perl, how can I make a sum out of only certain members of a table, PLEASE, PLEASE?
We need more detail. What does a "table" look like in Perl? What is your data structure? Is it a two-dimensional array?
Reply:Would it be similar to Excel where you would just hilight the cells needed in the formula and then the action ?





Sarge

sepal

Problems with perl code for my website, please help.?

I am working on my companies website and I can't seem to be able to read in the chosen radio buttons or popup menu from user and send them to a certain link depending on what was chosen. When i type params() or getValue() it does not display anything that comes after it on the site. I am using perl for a site running on Internet Information Service and using OBDC and sql, so I can't seem to find a proper loop that will make this work.

Problems with perl code for my website, please help.?
I'm not sure what you're using for PERL libraries, and it's been a while since I worked with PERL, but assuming you're using STDIN to process the form elements, it would go something like this to read a radio button value:





#!/usr//bin/perl -w





do "cgi-lib.pl" || die "Cannot Start CGI-LIB\n";


%26amp;ReadParse;





$sInput= $in{'radiobutton'};





if($sInput == "hello" )


{


print "hello is selected";


}


elsif( $sInput == "goodbye" )


{


print "goodbye is selected";


}


else


{


print "nothing is selected";


}





I'm not sure what you mean by "popup menu," so I can't be much help on that.
Reply:I would recommend dodging the issue entirely and installing Drupal. Why reinvent the wheel?





http://www.drupal.org/


Installing a perl module?

How do you install a perl module to an apache/linux with cpanel.

Installing a perl module?
didn't I just answer this?


if cpanel doesn't work for you... use ssh!


What is PERL's temporary directory??

I'm having trouble finding PERL's temporary directory on a windows xp. Any ideeas??

What is PERL's temporary directory??
What type of temporary directory are you looking for? Is this one that for a specific script? Also, which perl are you using (ActivePerl?)





Many applications use the windows "TEMP" environment variable. Go to Settings-%26gt;ControlPanel-%26gt;System-%26gt;Environm... Variables. There should be a TEMP variable defined. (Note, there may be a user one and a system one.)


4m wer can i download source codes in perl..?

try these sites


http://www.freeperlcode.com/guide/


http://www.sharewareconnection.com/perl-...


http://www.unix.com/shell-programming-sc...

printable cards

Out of all the computer languages (java,Perl,c++ etc..) what is the easy one to learn?

i want to master a computer language but which one is really easy to learn?

Out of all the computer languages (java,Perl,c++ etc..) what is the easy one to learn?
The characteristic that makes a language 'easy' to learn would be its similarities to spoken language; to have the ability to 'read' like a book. Java wasn't bad for me to learn but I had a good editor (http://www.crimsoneditor.com/) that had preset color coding and error help for a number of languages.





I, on the other hand, prefer functionality to ease of learning. Visual Basic is not far from most languages but it gets complex with the depth of functionality. Also, having a program like Visual Studio makes the process of learning a language much easier to swallow. I am a professional programmer and I design and code windows apps, web apps, web services, and database interfaces all from one place with one language. The best part is I have Visual Studio to help me along the way. Far more important then being easy to learn.
Reply:All the computer languages out there have many aspects that are very similar. Because of this, i wouldn't base my decision on which language to learn simply by ease. Different languages are better used for different things. If you have a passion for something, use the language that best suits it... this will keep your learning going.





Example:


C++ is strongly used with DirectX, if you want to build a game with DirectX C++ is the way to go.


Java is very good for web applications. If you want your program to be on the web, you probably should choose java.


Perl is used mostly to do crazy things that other languages can't do.


VisualBasic is used with Excel, if you want to use Excel functionality, master VB.





Note: All categories bleed into other categories... For instance C# does some really cool games using XNA studio.
Reply:become a master... I suggest you learn ....





From C to C#





C


C++


Java


C#





Because if you know C you can continuous in C++ and then to Java or C# easily, they are same.





From C to another





C


PHP


Perl





You can write PHP or learn how perl works easily without learning the basic of syntax.
Reply:C
Reply:visual basic





fast and easy to learn





belive me!
Reply:A slight disagreement with the previous answer but I think that the order would be (easiest first):





Java


C++


Perl





As long as you get a good understanding of object orientated design then Java is pretty simple - it's also super easy to move from Java to C#, which opens up .net.





My advice is go for Java.





From experience though, once you get an understanding of how languages work it's easyish to move around.
Reply:HTML is very easy and im 10 years old and i learned it here some proof www.freewebs.com/ultrapenguin


Its only for making websites though so C++ maybe what you want to learn.
Reply:In order of difficulty (hardest to easiest)





Perl


Java


C++





If you don't take my word for it, ask a professional programmer, they'll tell you roughly about the same :D


How do I change default input in PERL - cgi.pm?

I'm having a problem with one of my scripts. Basically, I want cgi.pm to read and decode multipart/form-data from a file. Here's a demo of what I mean:





use CGI;


print "Content-type: text/html\n\n";





open STDIN,"%26lt;file.tmp";





my $query = new CGI;





print $query-%26gt;param;





#should print the encoded parameters from file.tmp, only it doesn't





Thank you for your time.

How do I change default input in PERL - cgi.pm?
that looks about right... what's in file.tmp??





when debugging cgi I remember CGI asking for params 1 at a time. Don't remember if that was the default behavior when running a cgi in a shell (not in the server) or maybe It was triggered with an -option





you can get better debugging if you build a tiny form page and hit your cgi with ACTUAL valid data in the correct format that CGI wants!








and for print $query-%26gt;param;


i'd slip in a loop to show the params and their values!


Parsing Header Files in Perl?

I need to parse c header files (.h) using perl script and am supposed to write all functions,enums,typedefs etc.. to a separate file..Can you help me with some code...Moreover, is this a common problem (i.e basic or a complicated one?)..Please Help Me!

Parsing Header Files in Perl?
Use h2xs.pl





Details at CPAN:





http://search.cpan.org/~nwclark/perl-5.8...





Creates a perl module you can 'require'.
Reply:It is not that easy. May be you can contact a freelnace programmer at websites like http://getafreelnacer.com/


On pokemon perl how do you get to snow point city?

Go to celestic town, go west, Into mt corneot. go north (you need surf, rock smash, and strength.) Keep going past the caves, you eventually get to a foggy area. Dont worry this is not too long, keep going and you get out of the mountain. Go west then north through the snow. You get to lake acuity eventually. Next go to the right Past the trees. you get to snowpoint from there.

On pokemon perl how do you get to snow point city?
Your my best friend, in a world we must defend.

love song lyrics

I need a really simple php/or perl email form for my site?

Can anyone suggest a really simple form for my yahoo hosted website that allows people to send email from my website to my email account?





I googled for some but a lot have lots of code or want me to pay, I just need three basic boxes.





Name:


Subject:


Comment:








thanks

I need a really simple php/or perl email form for my site?
See the programs in the NMS archive (linked below).
Reply:I'm assuming Yahoo! allows you to use PHP's mail() function, since you mentioned PHP specifically.





===============================


Code begins below


===============================


%26lt;html%26gt;


%26lt;head%26gt;%26lt;/head%26gt;


%26lt;body%26gt;


%26lt;h2%26gt;Simple Mail Form%26lt;/h2%26gt;


%26lt;?


if(isset($submit)) {


//check for email injection attack; refuse if injection


$attack = false;


foreach($_POST as $field =%26gt; $input) {


$input = stripslashes($input);


if(preg_match('/Content-Type: multipart\/mixed/i', $input)) $attack = true;


if($field != 'comment') {


if(preg_match('/\n/', $input)) $attack = true;


if(preg_match('/\r/', $input)) $attack = true;


}


}


if(!$attack) {


// enter the email addy you want the message sent to:


$to = "you@someserver.com";





mail($to, $subject, $comment);


echo "%26lt;p%26gt;Thank you for your comment! We will respond shortly.%26lt;/p%26gt;";


}


}


else {


?%26gt;


%26lt;form id="email" method="post"%26gt;


%26lt;p%26gt;Name: %26lt;input type="text" id="name" name="name" size="30" maxlength="100" /%26gt;%26lt;/p%26gt;


%26lt;p%26gt;Subject: %26lt;input type="text" id="subject" name="subject" size="30" maxlength="100" /%26gt;%26lt;/p%26gt;


%26lt;p%26gt;Comment: %26lt;input type="textarea" id="comment" name="comment" cols="30" rows="10"%26gt;%26lt;/textarea%26gt;%26lt;/p%26gt;


%26lt;p%26gt;%26lt;input type="submit" name="submit" id="submit" value="Submit" /%26gt;%26lt;/p%26gt;


%26lt;/form%26gt;


%26lt;?


}


?%26gt;


How to embed java code in a perl script?

I am trying to embed Java code in a perl script using the Inline .


But when i run the script no output is shown . It seems that the script is hung since I don't even get back the command prompt.





#!/usr/bin/perl


use strict; use warnings;





use Inline Java =%26gt; %26lt;%26lt;'EOJ';


public class Hi {





String greeting;





public Hi(String greeting) {


this.greeting = greeting;


}





public void setGreeting(String newGreeting) {


greeting = newGreeting;


}





public String getGreeting() {


return greeting;


}


}


EOJ





my $greeter = Hi-%26gt;new("howdy");


print $greeter-%26gt;getGreeting(), "\n";

How to embed java code in a perl script?
I ran the above script in my Linux terminal, and it said there's an error on line 21. Line 21 is the line that said EOJ





Besides in Perl they have different commands.


for warnings, use -w [space -w] at the end of this line:


#!/usr/bin/perl


like this:


#!/usr/bin/perl -w


you cannot use the following comment:


use strict; use warnings


because the word "use" is a specific command in Perl scripting.





The perl interpreter doesn't know how to handle this, so it will definitely omit it.





I've used the warning


#!/usr/bin/perl -w


but there's still an error on Line 21 [Line that says "EOJ"]





Perl = Programming language


perl = language interpreter





No matter what I tried it will say


Can't locate Inline.pm [I don't have this installed] and there's an error on Line 20/21 [EOJ Line]





Sorry.
Reply:Add some print statements before %26amp; after the Hi-%26gt;new call, to find out where it's hanging...


Checking Running Services using Perl?

Hi, i im interested to create a perl script which would check a number of unix boxes to see if particular processes are running then report on the status of the processes. Any idea how i can do this? Or any suggestions of any other languages to use ?





THanks!!!

Checking Running Services using Perl?
I think you want the Proc::ProcessTable module from CPAN.
Reply:this is a pretty trivial program to write in perl on a unix box. I am sure there are a number examples of such code available for free, and they may or may not depend on freely available code/modules from CPAN.





google is your best friend here.
Reply:a lot of linux boxes come with(or can use) htop, a neat "task manager" for Linux. as far as unix goes, check the gcc libraries or get the htop source and compile it for the unix flavor you are using(openBSD, netBSD, etc). Red Hat and other proprietary linux's(and solaris)use different methods of doing this. very distr0-specific.





sudo apt-get install htop


or untar htop source(tar -xzpc ./source.tar.gz ./source, make install, make)


What happened to my search engine rankings?

I have an auction website: free-auctions.net. When I first set it up it was doing extremely well in the search engines between #2-7 for my keywords. I just recently changed the entire layout of the website and added new services, about 2 months ago. Ever since I made the changes my rankings went from #2 down to # 250 for my keywords. I am using the same keywords and have the same text throughout the website. Why do the search engines not like my site anymore? The script is written in perl.

What happened to my search engine rankings?
Your site has very few inbound links (13). None of them are high quality and at least 3 of them are no-followed. You want 100s of good links.





You will need to embark on a quality link building campaign.





http://www.seo-blog.com/inbound-links.ph...
Reply:As my fellow SEO memotrade said. You have very few links to your site.





If you do "view/page source" on your toolbar when looking at your site - you will see roughly what the search engines see. Not a lot of meat there for them to get hold of.





You are also spamming with your keywords - one mention is fine.





You need to get your site SEO'd You are in a very very competive area.
Reply:Build inbound links to your website.


Most of the directories online charge a one time fee to review your site and add it to their index. Here are three of my favorites:


http://www.avivadirectory.com/cgi-bin/af...


http://www.kahmer.com


http://www.joeant.com


The more inbound links to your site, the better you will rank


with Yahoo / Google / MSN.


Also work on your meta tags. Here is an


article on how they work: http://www.richkahmer.com/meta-tags.html
Reply:One of the reasons why is because of the aging aspect of your index page. The search engines might look upon it as a new site since you upgraded it and you have been penalised as a new site. Lucky you were not placed in the sandbox. Your keyword for auction has been repeated many times and you might have a spam penalty. That is probably the case. Algorithms change all the time and spam penalties are now commonplace. Why not put a title in your metatags instead of the url, as the se's already know that and your missing a good keyword opportunity. I suppose now all you need to do is optimize your site both on and off line. This way you might clear the upset the se's have with your site.
Reply:Try to link to your website from as many websites as you can.





Wish you good luck :)





Best regards


Waleed Mohamed


Professional Arabic Translation Services


http://www.ArabicTranslationExperts.com


http://www.proz.com/profile/72523


http://www.English-Arabic-Translation-Se...

greeting cards

I've created a form on my webpage but what should my perl script look like?

I've been going nuts for the last six hours!!


I've been working on formmail and can't get it to work. here is what I've got in my html form: (yourdomain is obviously replaced with my real domain)





%26lt;form method="POST" action="http://yourdomain.com/formmail.p... target="_top"%26gt;


%26lt;INPUT TYPE="HIDDEN" NAME="recipient" VALUE="test@yourdomain.com"%26gt;


%26lt;INPUT TYPE="HIDDEN" NAME="subject" VALUE="Quote From WebSite"%26gt;


%26lt;INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://yourdomain.com/thanks.htm"...


%26lt;INPUT TYPE="HIDDEN" NAME="required" VALUE="email,phone,your_name"%26gt;


%26lt;INPUT TYPE="HIDDEN" NAME="sort" value="through,your_name,phone,fax,email...





Now my question is: What am I supposed to put into my "formmail.pl" script?





Also, I use Yahoo and they said I can just insert it in my directory without a cgi-bin. Is this true?

I've created a form on my webpage but what should my perl script look like?
If you're talking about the formmail.pl program that's all over the web? You're not supposed to do anything to the formmail.pl Perl code itself. As long as you didn't change any names or semantics of the %26lt;input%26gt; entries, the formmail program will handle them all correctly. As for where Yahoo tells you to put it... WHY DON'T YOU JUST TRY IT AND SEE???


Where can I find an opensource implementation of EM for fitting a mixture of Beta distributions?

I would like to find code in any language (matlab, Perl, C, ...) for fitting a mixture of Beta distributions to data. I would also like to find a write-up of the associated mathematics (not general EM, but EM for this particular problem - mixture of Beta distributions.). I would like both, but I will be happy to get either.

Where can I find an opensource implementation of EM for fitting a mixture of Beta distributions?
maybe octave


go to the freebsd package listing under mathematics too
Reply:I cant say for sure but i would strongly suggest looking at R. Being a open source statistical program there is a good chance that it may have something that you would need.





http://www.r-project.org


How can I i most quickly learn the fundamentals of computer science?

I'm interested in assembler, C, Perl, Python, and *nix, but I find that I lack the background to pick up on them quickly.

How can I i most quickly learn the fundamentals of computer science?
study visual basic first, it'll give u the base for all programming languages.
Reply:If you learn anything quickly, you end up missing things. Personally I'd recommend you avoid trying to become a programmer overnight, and take your time about it like most people do. Patience is a virtue!


What happened to my search engine rankings?

I have an auction website: free-auctions.net. When I first set it up it was doing extremely well in the search engines between #2-7 for my keywords. I just recently changed the entire layout of the website and added new services. Ever since I made the changes my rnkings went from #2 down to # 250 for my keywords. I am using the same keywords and have the same text throughout the website. Why do the search engines not like my site anymore? The script is written in perl.

What happened to my search engine rankings?
Your site has very few inbound links (13). None of them are high quality and at least 3 of them are no-followed. You want 100s of good links.





You will need to embark on a quality link building campaign.





http://www.seo-blog.com/inbound-links.ph...
Reply:Go to http://www.montfortwebdesigndallas.com/ to answer your question.
Reply:Build inbound links to your website.


Most of the directories online charge a one time fee to review your site and add it to their index. Here are three of my favorites:


http://www.avivadirectory.com/cgi-bin/af...


http://www.kahmer.com


http://www.joeant.com


The more inbound links to your site, the better you will rank


with Yahoo / Google / MSN.


Also work on your meta tags. Here is an


article on how they work: http://www.richkahmer.com/meta-tags.html
Reply:Build pages and get links. You also have server issues that need to be corrected. If you don't know how, get an admin.

flower arranging

Waht is the difference between pokemon perl and diamond, which is stronger and will they mate and make an egg!

.....wwt u mean stronger egg? pokemon dimond and pearl r exactly the same.....besides tht some pokemon u can only catch in pearl and vise versa.....but there rly is no dif other thn tht


How do you initiate variables in Perl? Specifically TripodMail.pm?

Perl does not require you to initialize or predeclare variables. In most cases, experienced Perl programmers will use the 'strict' pragma which forces declaring variables, usually using the 'my' keyword. So, to declare and initialize a variable:


my $var = 1;


With TripodMail.pm, I assume that you want to instantiate an object?


In this case:


my $mailer = new TripodMail;


Then you use your TripodMail object to access the member functions, something like this:


$mailer-%26gt;sendmail(args);


How we can use PERL for Build and release engineering automations?what sort of tools can be created with PERL?

Basically, Perl is a string-matching and manipulating language. It's wonderful for taking standardized inputs, looking for specific sequences of characters (or bits; Perl can be used to manipulate binary sequences as well as ASCII), and doing "something" to them -- converting them to another form, or inserting tags at specified points, or capturing sequences of text and inserting them into templates.





Because Perl is so string-friendly (for input and output), it's a great choice for CGIs in a Web page.





You can also use Perl to run system functions (at least I've done this on Unix installations; I believe it's possible to run DOS-type command line functions on Windows Perl, but I've never done that). This includes writing files, renaming them, and deleting them.





In a build and release automation, for example, you could:





1 - Create a Web page that used Perl to let the user upload a module to the compile directory, checking for file-name structure on the "way in"





2 - Trigger an automatic email to the build manager to alert that a new file had been checked in





3 - Execute a script (either automatically or through a Web interface) to build object code out of the checked-in modules





4 - Automatically, at the termination of the build, send email to the build manager (or others) that a new version was available





5 - Automatically, at build termination, delete any intermediate or temporary files constructed by the compiler





My own experience with Perl is in the area of converting large (750+) numbers of text files from an input format to individual Web pages, in a batch form. Most recently I was tasked with extracting data from a proprietary Web-based customer care system (in a single file containing 250-odd records) and turning the data into in-product Help, in Microsoft CHM form.





Perl made it a simple process of cleaning up the extracted data, splitting the extracted data into a series of string variables, then printing each string one by one inside a template for the Web page we were using as input for the Help Compiler. Took less than three minutes to convert 250+ files from the Web-based report to a compiled CHM file ready to hook up to the product's Help menu. It would have taken, oh, maybe two or three DAYS to convert the files by hand, copying and pasting the content from each line of the report into the Web template. This freed the content expert (which also happened to be me :-) to concentrate on getting the content right, rather than on simply trying to get the copy-and-paste part right, at three days a hit.





Some recommendations to make development and debugging easier:





1. Break your task into small modules, then write a separate Perl script for each module. This makes it easy to see where your process is causing problems while you're still developing, without having to search through the entire set of scripts.





2. Use some kind of "uber-script" (I wrote mine in the Bourne shell, on Unix, but I suspect an MS BAT file would work -- check the docs for the version of Perl you use) to call all of these small Perl modules in sequence.





3. Make sure your "uber-script" lets you know which Perl module is executing, so that if the process terminates unexpectedly you know where to start looking for problems.





4. In early development, have each Perl script "tell" you what it's doing -- reading in a variable, changing all the Xs to Ys, writing an output file -- just as it's about to do it. Then if it terminates unexpectedly you know where to start looking for problems.





5. Once it's running smoothly, don't delete the lines that "tell" you what each script is doing -- comment them out. Somebody, someday, is going to enter a file or a command or a block of source code that doesn't do what it's supposed to do, and you'll want to turn those "tell me" lines back on to see where it's failing.





6. Comment, comment, comment! My own Perl mentor told me to write comments "as though you were writing for a stupider version of yourself -- because in six months when something goes wrong and you dive into the code to try to fix it, you'll BE that stupider version of yourself trying to remember what you had in mind when you wrote the silly thing."





That should be enough to get you started. Other than that it's standard system analysis -- look at your process, look at all the little pieces, figure out their inputs and outputs, and start coding.





Best of luck!


What is the difference between perl, cgi, and java scripting?

what can they do and how easy are they to learn

What is the difference between perl, cgi, and java scripting?
Perl is a scripting language that can be used to program many kinds of interactive web pages - shopping carts, bulletin boards, databases, etc. Perl scripts run on the web server. CGI is the interface that perl uses to connect between the web browser and the server. So what is called a CGI script is often written in perl, though it can be in any code that can be executed on the server. Very often a CGI script is what is used to process an HTML form.





Javascript is a language for manipulating the information on a web page. It's used for dropdown menus, special mouseover effects, form checking, and other small tasks. Javascript code runs on the users browser, not on the server.





There is also Java, which is very different in form from Javascript. Like Javascript, Java runs on the user's computer. Java is often used to create animated web presentations.





There are other server-side options that can be used in place of perl/CGI. .NET is a programming system for Windows servers. PHP is a popular scripting language that will run on most servers.





You'll be able to do just about anything you can think of with web pages if you master Javascript and PHP or perl in addition to HTML/XHTML and CSS. It's not hard to learn the basics and start using these tools. Like everything else, true mastery is a matter of hard work, talent, and creativity.
Reply:perl is a scripting (programming) language. It is mainly found on unix/linux systems but you can get it for windows as well.





CGI common gateway interface is a way for a web server to execute programs/scripts on the server from url requests. A lot of CGI routines are written in perl but they can be written in any language which can be run (compiled and run) on the server. CGI provides ways for the program to retrieve POST and GET data from the request and has full access to the server for saving data or responding to the request with some HTML or other code. An example would be a post message comes in from a user and the data is saved to a file, an email is sent and a response page is sent back.





javascript is a programming language which is included in the HTML sent to a browser. The browser then interprets and executes the code. This allows interactive web pages to be created containing things like drop down menus and animation.
Reply:A cgi is a file on a server that handles certain routines (emails, forms, and such) and is usually written in a programming language "perl" but noot always, it can be written in other languages, too. JavaScript is another programming language, common in web design/development.
Reply:Their languages are different formulas for writing scripts. CGI is for Sign my Guest book, forms, and Polls etc.





Java is for making things that perform like moving GIFs, writing real small programs that make your pages functions load faster so people don't leave after waiting.





As for learning a language easy means practice and if you have a good memory and can put together junks of symbols together so they make sense. You should have the basics of them down in a few weeks.
Reply:Perl is a programming language. It is a coding language that is both easy to learn and more natural to man. It is is used to set commands for a computer to do some computations.





Now, Java Script (written Javascript) is a progarmming language for adding 'functionality' to a website, ususally on the client site.


It is a bit easy to learn too.





Lastly, CGI (common gateway interface) is a standard way of communicating data between a server and a client. It lays RULES to be followed in relaying this data. It is an interface (i.e. 'a go-between' between a program and a web server.


Usually CGI is written in PERL.

flower arrangement

How can i convert unicode html "&hashx4EAC;&hashx4EC5;" to utf-8 characters like 京仅 in perl.?

You need Perl 5.6 or better to handle Unicode. The link shows you how from there.


How to get perl file soucre file name in perl program?

e.g. if my source file name is perl1.pl,I want my code to fetch this name with full path in some variable


THIS IS NOT FOR CGI PROGRAMMING SO DONT TELL ME TO USE ENVIRONMENT VARIABLES





THANKS

How to get perl file soucre file name in perl program?
I wont write out the script for you but the only idea that comes to mind is to use $$ (pid of this process) to find the line from a ps -aux command .corresponding to the running process THe last part of that line listing should give the name of the perl file running.
Reply:$0 (that's dollar zero) is supposed to give you that info, but it may vary slightly, depending on how exactly you call the program (and of course it depends on your OS)... Try it!


Can Perl be used for AJAX?

I'm trying to make a game for the internet browser, that is multiplayer, so I'm using Ajax. The client side script is working fine, I think. But every time i reuse a Server Side script (which is written in Perl because that is the only server side script i know), it gives the same result as the last time, even if i refresh the page. Is there something I'm missing?

Can Perl be used for AJAX?
hey man you can use any language u want for ajax. and now the problem you were describing, It could be that the browser is just fetching the reply from your cache. Are you using a random seed every time to avoid this problem.


in ajax when submitting the url it should be something like this.


url = "somepage.pl?data=asd%26amp;random=" + Math.random();


this will append a random number on to the end of the url so that the browser does not fetch the reply from the cache.
Reply:Perl can be used for the backend to an AJAX application, yes. AJAX only defines the client-side technologies - in this case, JavaScript, via an XMLHttpObject. The back end (Server side) doesn't matter, it could even be static HTML. What I would do is check the Perl page manually first, before trying it in an AJAX environment.





Also, I know from experience that when using IE with AJAX, it will reload pages with the one in cache even if the content should be different. The solution for this is to append a unique GET variable to the URL of the page you're loading in AJAX. I use a timestamp, that's easiest (you could also use a random number, but then you have problems if the number appears again). A workaround for this is to test using Firefox, which doesn't seem to suffer from this caching problem.


How do i enter in cheat codes in pokemon perl?

u would probly need a actionreplay or a gameshark

How do i enter in cheat codes in pokemon perl?
i doubt that anyone is going to know that


just go to google and type in cheats for whatever system your playin with.
Reply:you prolly have to have a game shark.

eurovision song contest

Plzz tell me how to append a file in perl and adding information from another file (concatenation) of info?

The %26gt;%26gt; opens the file for appending.





open(LOGFILE, "%26gt;%26gt; /tmp/log") or die "Can't write /tmp/log: $!";





The "hello world\n" will be appended.


print LOGFILE "hello world\n";





if you want to read from another file, just open it, read each line and write it:


open(FH, "input.txt");


while (%26lt;FH%26gt;) { print LOGFILE $_; }


What does this PERL expression mean?

/^[-+]?\d+\.\d+$/





Can someone please break this down for me?





Thanks!

What does this PERL expression mean?
that's called a "regular expression"





you may want to do some research on regular expressions to figure out what they mean, but i'll break this down for you:





/^[-+]?\d+\.\d+$/


the first "/" and last "/" are only there to enclose the regular expression:





^[-+]?\d+\.\d+$


the "^" means to check from the beginning and "$" means to check all the way to the end.





[-+]?


the ? means to match 1 or 0 of any of the characters enclosed in the square brackets [ ]...





\d+


this means to match any digit character, represented by \d, and the "+" means to match any digit 1 or more times.





\.


this means to match a period





\d+


same as the other
Reply:everything stays as aamina said except english description: the expression will be true if checked variable represents decimal number (preceding + or - sign is optional)


Perl Script To Delete Dynamically Created Files?

I need a Perl script to help clean up dynamically created files. The files are in the format ABC###.gif Where ### is some randomly created alphanumeric character. The part I'm having trouble is some of these files will be in use by web users. How will I know this, or how can I make sure I'm not deleting an in use file?

Perl Script To Delete Dynamically Created Files?
What do you mean that you are concerned that it will be in use by users? If just viewed on a page, the image won't disappear from the users page if you delete it. If the user is actually doing something to the actual file, then change the script that allows the user to manipulate the file. Create a temp file for the user to manipulate then write the completed file to your directory that you want to delete from, then if you happen to delete a file that is being worked on, it doesn't matter.





For the deletion:


my @filesToDelete = glob("/whateverdir/ABC*.gif");


foreach (@filesToDelete){


unlink $_;


}
Reply:I'm inclined to think that you will not no if it is in use unless that web user has an open file handle on the file, in that case the file would not be able to be deleted. Given the nature of the web I'm betting that there is no open file handle. This would mean that unless there is a mechanism by which the web site/application keeps track of the the in use files there is not a practical way for you to know if it is being used.





You might be able to use the atime of the file to help deduce whether or not the file was used today. Basically the answer to your question is that there either needs to be a rule that determines the retention period of these files or the web site will need to assist you in knowing what files are still being referenced.


Perl programming scoped variables?

Whats the difference between 'our' and 'my' in perl? In terms of declaring variables?

Perl programming scoped variables?
This link seems to explain it quite nicely.

wedding song

Need php/perl mail help for yahoo small business?

Trying to add a subscribe form for a info newsletter. I want to use php/perl mail function offered. After setup through yahoo, what is then required.


Can I just develop the form in dreamweaver, then add it to site pages?


Have some programming skills, none in php/perl?


Any advice would be extremely helpful. I have searched and searched and cannot find simple steps.


Thanks

Need php/perl mail help for yahoo small business?
Your form will have the POST option and the ACTION option. The action option will point to the perl mail program.





You will probably need a hidden form input text box for the to email address and a hidden form input text box for the subject.


You may also want to have the from email address in the form. These input text box will have to have the correct name as required by the perl mail program.





That should be all that you require. There may also be a need to create a thank you page and that may have to be specified to the perl program too.





Good luck.


Learning perl in a week?

I want to implement some text similarity algorithms in perl, I have never used perl in the past, I have coded in C++ but not an expert, I just have 7 days to finish this, what are some of the key areas I should be touching in perl, can someone recommend me some tutorials/books to refer in perl (to learn in 7 days), any specific pointers for learning regular expressions?

Learning perl in a week?
A search for "PERL +tutorial" got about 29,700,000 results, the most probable starting point from the first page being the URL below. Good luck.


What is the meaning of "%032b" in printf (OUT1 "%032b",$n ); statment in perl?

You will get 32 bit binary number of variable n printed in file handler OUT1

What is the meaning of "%032b" in printf (OUT1 "%032b",$n ); statment in perl?
Not quite. The '0' means that of the 32 bytes displayed, the leading bytes will be 0s instead of spaces.


Does any know good website to learn/Practice exercises in Perl, Cand C++?

does any know good website to learn/Practice exercises in Perl, Cand C++ for free....

Does any know good website to learn/Practice exercises in Perl, Cand C++?
go to http://bitspyder.net but make sure you are firewalled and antivirused first! Fantastic and fun site! You have to have a torrent client and you have to register but it's free. There is really alot there for all kinds of computer stuff you can download.
Reply:www.3dbuzz.com... register to the site, it's free, and then click video training in the main top nav bar and they have tons of tutorials for a lot of different things including C and C++. Also, just typing in C++ tutorials or PERL tutorials in the Google search bar will give you a list of a ton of, usually free, sites. Hope that helps.
Reply:The one that I have found that I like and a couple of my computer science instructors like is called webmonkey. It is chalked full of


all kinds of different programing language help files and practice


exercises. The practice stuff you have do have to do on your own computer though. Good Luck!
Reply:Hi, i can recommend u sites for C and C++. I too had problems while studying. Refer the sites geekinterview.com. You just have to register and u can learn lots of things there.

stamen

Friday, May 21, 2010

Where is the move strength on pokemon perl?

watch this video

Where is the move strength on pokemon perl?
i think a guy gives it to you


How do i create my own proxy checker?

Hello,





I want to create my own proxy checker. It should check the proxy for availability. The prefered language is Perl, but any help and suggestions are appreciated.

How do i create my own proxy checker?
http://www.fresh-proxy-list.net/





You can find some free anonymous proxy server list in those website and some knowledge about the proxy.The proxy sites update checked fresh proxy list daily.You can use it to surf some blocked websites.


How much of web development happens on the server or by the host?

I am wanting to get beyond simply writing html code and designing nice looking pages and I want to learn more abotu content rich, dynamic, database driven websites.





I have heard that if you want to have dynamic material on your site a lot of it depends on your host and your hosts server. Like if you want to run cold fusion programming that your server must support it. Or if you want to use perl, php, server sife includes.





I don't even know what much of that really means. This is what I want to learn about.





Specifically, I want to know right now how much of dynamic content is actually dependent on the host.





I would like to use sql for my database as that is what I have edited in the past. Does my host and server need to know this? Do they need to do anything for this to work and will they charge extra?

How much of web development happens on the server or by the host?
First of all, what happens with a normal web page is the user's browser sends in a web address, the web server sends back a static text file called "whatever.html" and the browser interprets and displays it.





With a dynamic web page, the browser sends the name of a data file (whatever.php, whatever.perl, whatever.asp, etc.), often with parameters attached (form data and hidden fields). The server sends that to the proper program, which processes the data (accessing databases or other files on the server as necessary) and sends back a text file in html format, which the browser then displays.





That is, all the work is being done on the server. (By the way, a "Web Host" is just a name for a "Web Server" which you are leasing space on.)





You need your site hosted on a server which supports the programming language and database you're going to use. Each of these are software which has to be installed on the server, so there may be a charge (or it may be included as features in the bundle you pay for. Perl is often included, for example.)





Basically, if you're using PHP or Perl you want a Linux/Unix server, if you're using ASP, you want a Windows based server.





The database program you use also has to be installed on the server. On a Linux system, MySQL is probably the most common, and it works nicely with PHP and Perl. I'm not sure what is used on Windows servers beyond Access (which is OK for small applications) and MS SQL Server, both of which (like anything Microsoft) will cost. Cold Fusion is expensive as well, though there's a free version you can install locally for development.





SQL is the query language used by every major database system (from Access to Oracle), so that's not going to affect your choice much.





If you're really low-budget, it's possible to do up a simple dynamic website using Perl as the language and keeping your data in tab-delimited text files. I've done this, but it's tedious and I don't recommend it for a sizeable project.
Reply:U can try Kohli Hosting... they r the best host and they will surly help u in understanding ur problem as well as they will provide u wid the cheapest webhosting plan wid all stuffs loaded already for u!!! http://www.kohlihosting.com/
Reply:When it comes to server-side includes, that's what it means - the server must process the content you want to include.





Dynamic sites like you describe are generated by the hosting server and is totally dependent on the host server having the backend needed to provide the dynamic content. The host company might simply provide a web server and a database backend. Some might provide an application framework. Others might even provide an entire content management system where you only have to tweak the look and add the information.





The last link below gives a decent idea on what one hosting company provides. I am not affiliated in any way with that company, it is linked for information only.





Good luck!


Is there any one can help me in programming exponential function with Perl Language??

the function is actually e to the power of x


or e to the power of -x.........

Is there any one can help me in programming exponential function with Perl Language??
Perl's built-in function 'exp' does exactly that. What do you need help with?





print exp(3), "\n";


print exp(-3);

sim cards

What skills are required to operate a web hosting company ?

I want to buy a web hosting business that already has customers , but I'm not sure what skills and knowledge are needed .


I own several websites and know basic knowledge about uploading a website , URL's , and know that the server space has to be leased and resold to customers according to their bandwidth and size of site .





However, Do I need to know Unix , Linux , or Perl or other programming languages ? If so , can this be out sourced reasonably ?

What skills are required to operate a web hosting company ?
system admininstration/php/mysql knowledge/network security/network monitoring. If you do not know any of these you may want to hire a web developer for a month or two. Check websites like http://definitivelab.com/


How do you battle in Pokemon Perl on the Internet?

Try going to


uhs-hints.com


It will help with any game problem!


=)


Perl Regular Expressions help me please?

i ve a text is.


"%26lt;s%26gt;111%26lt;/s%26gt;222 avd"


"%26lt;s%26gt;110%26lt;/s%26gt;224 avd"


"%26lt;s%26gt;523%26lt;/s%26gt;221 njh"





if i want a cut %26lt;s%26gt;....%26lt;/s%26gt;


how can i use a Perl Regular Expressions for cut it?





this is a result i want.


"222 avd"


"224 avd"


"221 njh"





Please tell me how can i use a Perl Regular Expressions.


Thanks

Perl Regular Expressions help me please?
Assuming you're reading the text from STDIN, there you go:





while(%26lt;%26gt;) {


s|%26lt;s%26gt;(.*?)%26lt;/s%26gt;||gi;


print $_;


}





Or, if you work on a string variable,





$s =~ s|%26lt;s%26gt;(.*?)%26lt;/s%26gt;||gsi;





Second form is actually better, as it will take care of %26lt;s%26gt;...%26lt;/s%26gt; stretched over multiple lines.


g = globally (replace all occurrences)


i = case-insensitive (will match %26lt;S%26gt;)


s = treat entire text as single line


? = non-greedy (will not merge multiple %26lt;s%26gt;...%26lt;/s%26gt; per line)


Does any body know any thing about PERL SHELL. and how to use it?

Hello, I have been looking online for a certain program called perl shell, i have to learn how to use this program or CLI as a task for college i have found a download but dont have a clue on how to install or use this program any help with this matter would be much appreciated. ;)

Does any body know any thing about PERL SHELL. and how to use it?
maby you have ask'sd in the wrong place buddie
Reply:It seems to be something that sourceforge has come up with. See the URLs (you can download PERL Shell from the first URL)
Reply:There is a programming language called PERL and it is run in an operating shell. Originallly it was run in a Unix shell but it is now a cross-platform language.

garden ridge

My BlackBerry Perl browser keeps telling me I need a macro media player HELP!!!?

Every time I use the browser on my BlackBerry Perl it keeps telling me I need the macromedia player but Ive gone on the site and i cant dowload it. If you have any suggestions I will greatly appreciate it. Thanks





Ps If you have any other suggestions for cool FREE downloads for this phone let me in on them thanks=%26gt;

My BlackBerry Perl browser keeps telling me I need a macro media player HELP!!!?
What website are you attempting to access on the BlackBerry browser? If it is a website that requires Flash or something of the sort, you can only download it if MacroMedia offers that program for BlackBerry browsers. After looking around on their site, it appears they do not offer support for BlackBerry browsers. Sorry.


I have a Intel PERL 865 motherboard with a socket 478 andneed to know which video card to use for HD movies?

Don't know of any AGP cards that support HDMI





You have to upgrade to PCI-E.


Where can i get the free e-books for CGI perl in Linux?

Theres always bit torrent....


Perl implementation about age calculation from birthdate?

Hi all,


I'm trying to implement a Perl language structure.


My small program will do the followings;


Take the birth date of the user as input.


(Month's will be input as strings.)


Take the current time from the operating system.


Then calculate and display the age of the user as;


x years, x moonths and x days.


I also want to add a day/month counter,


so that the program will calculate and display the age of the user as;


x days, x months





So, I plan the program to work as follows;


Enter your birth date: 21 November 1975


Enter the current date: 9 January 2007 //if i can't implement a get_system_time function


Your age is: 31 year(s) 1 month(s) 19 day(s)


You've been living for 11364 days or 378 months.





I'd be glad to hear some help about this small implementation.


Thanks all..

Perl implementation about age calculation from birthdate?
this sounds like a homework assignment, You'll get more help if you post your work so far!
Reply:erm... dont you use that GregorianCalendar crap?

flowers for algernon

Can i get the emulator which runs pokemon perl fast?

I've used no$gba to play Diamond before.The beginning part of the game is at an reasonable speed,but when you actually get into the land of the game the speed pretty much sucks.





DS emulation is still in it's early stages and the only emu that has shown promise of full game support is no$gba,so don't expect a DS emu to run DS roms as well as VBA runs GBA roms.


I want to start perl(beeds) buisness?

from where i do start to cell my perl necklesses

I want to start perl(beeds) buisness?
perl beeds? hope you have someone else doing your marketing for you.
Reply:probably a jewellery shop
Reply:I think you need to take a grammer course for spelling.
Reply:try ebay............happy selling............


Where can i find hm waterfall on pokemon perl?

Olivine Gym Leader Jasmine has it. She's on the beach in Sunyshore City. But She will give you it when you can use it, by beating the Gym near her.


I want to start perl(beeds) buisness?

from where i do start to cell my perl necklesses

I want to start perl(beeds) buisness?
First of all pearl not perl beads not beeds and sell not cell.


Which town are you based at?


Because i have a shop in London that sells jewelery and clothes especially pearls so you can show me your ideas and i will give you resonable prices.


Or you can go to other places around london and show them your ideas or you can even sell on e-bay.
Reply:Step1. Learn to spell.
Reply:If you are selling them on the internet you may want to spell 'pearl beads' or 'pearl necklaces' correctly or people will never find your wares, good luck

business cards

Suggest me a good book on perl?

im a new comer to perl. please tell me an indepth covering book on perl??

Suggest me a good book on perl?
go for





perl black book, or


professional perl programming- wrox publication..





i found both to be informative enough...





regards


parvesh garg
Reply:at Amazon, search for perl


they will list books in order of popularity


Does the following PERL program pass a list/array of numbers to the add an multiply subroutine as a referecenc

Does the following PERL program pass a list/array of numbers to the add and multiply subroutine as a referecence or does it not? And if doesn't how can make it do this.





my ($rtn, $len);





$len = @ARGV;





# If first argument is add, run add function; if multiply, run multiply


# function, otherwise warn user and end script


if ($ARGV[0] =~ /add/) {


$rtn = %26amp;add(@ARGV);


print "The sum is: $rtn\n";


}





elsif ($ARGV[0] =~ /multiply/) {


$rtn = %26amp;multiply(@ARGV);


print "The product is: $rtn\n";


}





else {


print "\nInvalid request, please use \"add\" or \"multiply\"\n";


print "followed by some numbers.\n";


}





# Subroutine definitions #


sub add


{


my ($sum, $i);


$sum = 0;


for ($i = 1; $i %26lt;= $len; $i++)


{


$sum += $_[$i];


}


$sum;


}


sub multiply


{


my ($product, $i);


$product = 1;


for ($i = 1; $i %26lt; $len; $i++)


{


$product *= $_[$i];


}


$product;


}

Does the following PERL program pass a list/array of numbers to the add an multiply subroutine as a referecenc
It does not. Calling subroutine(@list) passes the list by value, not by reference. To pass a reference, put \ before the array name:





multiply(\@ARGV);





You'll also need to change the subruotines to work with their arguments being an array reference, to something like:





sub add {


my $sum=0;


$sum += $_ for @{$_[0]};


return $sum;


}





(by the way, "Perl" is the language, "perl" is the interpreter, "PERL" does not exist)

birthday cards

How do i open a file?? PERL help?

how do i open a file into a program that i have written to print out the exemptions of that file that i have typed in the command line eg.





home$ testprg.pl colour.txt





how do i get my program "testprg.pl" to open that colour.txt file formt he command line.... help

How do i open a file?? PERL help?
If the Perl program is expecting to read standard input, what you wanted is:





home$ testprg.pl %26lt; colour.txt





The %26lt; is a "redirect" operator.





If you want the program to open it itself, you'll need to code that in your Perl program:





my $fn ,$FILE;


$fn= $ARGV[1];


$file = open($fn) || die "can't open input file";


while(%26lt;FILE%26gt;) {


# do something


}





You get the idea.


If i have to choose between a site programmed using perl or RTML(yahoo store), which one do I choose?

I want to know if I can have the same fuctionality using RTML and javascript as with asp.net or php.

If i have to choose between a site programmed using perl or RTML(yahoo store), which one do I choose?
Hello,





There is going to be various differences between using RTML and Js and using asp.net and php.





That being said, I have not encountered anything as of yet, where there is not a way to get it done using your choice of language.





I am going to make the assumption that you are trying to set up an e-store based on your question. If you are going to use the perl for the cart functionality there is going to be slight differences between the two as to HOW its coded but you can get close to the same result by taking the finality of what you need, looking at what user data you are trying to collect, and programming language.





From there you can start to use your user data to make the choices for your syntax and variable types to figure out the best choice on what to use.
Reply:perl or php for a cool look... yahooooo if you need quick and dirty.


What code (HTML, Perl, etc) would i use to allow users of my webpage to upload MP3's to my webpage?

you start with html


%26lt;form action="your.cgi"%26gt;


%26lt;input type="file" name="uploaded_file"%26gt;


%26lt;/form%26gt;





and your cgi written in perl makes use of the CGI library





use CGI;





and you access the file using


$filename = param('uploaded_file');





then you move it somewhere for you to check out later!





open(OUTFILE, "%26gt;%26gt;~/file$$.mp3" );


while ($bytesread=read($filename,$buffer,1024)... {


print OUTFILE $buffer;


}





You can add some more checks to make sure it's really an mp3, but not all your users will be able to send an mp3 as an mp3!

What code (HTML, Perl, etc) would i use to allow users of my webpage to upload MP3's to my webpage?
None! Upload is a function of the server, and there are a couple things to keep in mind!





1) Do you even have PERMISSION to let other people upload stuff to your webspace? Most web hosts only allow YOUR stuff on your webspace. Which means stuff YOU uploaded personally, not stuff uploaded by others.





2) Does the web host even HAVE an upload function? You can't let just anybody upload anything to a server. Hacker's first step is to get SOMETHING into the server. Once they are in, they can try to muck with the permissions, and eventually gain root access. Upload function is one of the easiest places to hack, actually, as it's not often checked.





3) How do you know they're actually MP3s, not warez or virii or spyware and stuff? Or for that matter, that they're "legal 2 trade" and not copyrighted MP3s?





4) How do I *limit* the number of uploads? Because if I go over I'll start owing much $$$$$? Most webspace are free, but limited to a few hundred megs, which MAY hold, assuming you don't have anything else, say about 80 MP3s (assuming 4 something megs each). If you manage to go OVER that, or there's a LOT of traffic on your space, you will be automatically bumped from the "free" to the "paid" account when you exceed your allocated bandwidth and space, and be billed automatically, and there'd be NO disputing this. If this is on a FREE host (such as Geocities), your account would IMMEDIATELY go into suspension .





Why don't you figure these out before you decide on the answer?
Reply:If your not stuck with using Perl, here's some tuts in asp:


http://www.asp101.com/resources/aspuploa...


http://www.asp101.com/resources/uploadin...


http://www.4guysfromrolla.com/webtech/Le...
Reply:html might
Reply:You would use an html form and a server back-end script to deal with the data sent to it, via the html form. Although I do suggest using PHP as your server side language, as it is my preference. But then again it's up to you. :D
Reply:You would need a form, in HTML, and "something" on the server side to accept the upload. If you're using Perl (which would be my preference) through CGI then you can use the CGI.pm module to handle the upload.





http://search.cpan.org/~lds/CGI.pm-3.27/...
Reply:if people are going to "upload " songs to your website (very doubtful ) you would need a ftp to your server that would allow them to do this ..





but i have to ask this , someone uploads a mp3 to your site , that you are not the copy write holder to , how long do u think the company hosting your site will allow this ?.