Tuesday, May 20, 2008

parted /dev/sda mklabel msdos will return
delete partition (yes/no) after giving yes it again prompts for the label type. the question is how do i pass the response to the command when my perl script is running.. it should be non interactive without user intervention. I tried using the response file and passing the values but it is not working pls can anybody help me regarding this..
well thanks in advance

Program:
system("clear");

Output:
C:\perl\bin>perl hello9.pl
clear is not recognized as an internal or external command-
operable program or batch file.

Problem:
This gives out an error. What I want is to just clear the DOS screen before i run my program. How does this work???

i want to learn how to make web pages and design them real nice with graphics like 3d and animations.
good fliers-
business cards and things of that sort.
for example if i take a picture of some one i want to be able to make it into like cartoon or some thing cool like that.

Just so i wont waste 5 more points.
what is it that you do in Database Technology- Systems Analysis and Design?

I am trying to open a file in a perl program using the filehandles. I have the filepath/name stored in a string. I tried to open it like this: open(FILEHANDLE- $string) . It is not recognizing the string s value as a filepath. Does anyone know how to open a file whose filepath is stored in a string?
It is in a Unix environment. The file definitely exists because I can open the file via the filehandle by hard-coding the filename/path into the open method. I also made sure that the correct filename/path is stored in the string as well. What is happening is that it is saying the file that I am sending it doesn t exist.

ive tried on and on again to figure out how to get the system ive thought of for my website to happen but so far ive only ruined my mysql and put errors on all my stuff and im tired of it. Can someone please help me php and script for my website. My plans are to make an account database for my website that allows people to have one account that they can upload videos to it- edit there profile and have friends and suscribers- Make it so they can play some flash games and put up there high score- make it so that they can put up a guild or clan website for them- and alot of other stuff. Im also working on a vip system so they pay monthly billing for all the extra stuff like with a free account you can only upload 3 videos per day but with the vip account you can upload as much as you want and with the video games- you can play for 30 minutes an hour with the free but with a vip you can play as much as you want. And for alot of accounts- you can pay only 5 dollars a month. Anybody. :D

File:
are you here now
are you here now
are you here now
are you here later
are you here later
are you here later
are you here now
are you here later
e you here now

Code:
open (FILEHANDLE- "< test.txt") or die "oops: $!";
while(<FILEHANDLE>)
{
my $char = getc FILEHANDLE;
print $char;
}
close(FILEHANDLE);

Output:
aaaaaaaea

I m only getting the first character of each line but I want to print or store or output the word "here". Can someone please help???

Would there be more women programmers if there were more women-friendly programming languages?

I think languages like Lua and Perl are a lot more woman-friendly than languages like Java and especially Python (that s about the most male programming language of them all- I think- with the possible exception of BASIC.)

I think C is more about the computer- and the programmer can go take a flying one .....

while (<IN2>)
{
if ($_ =~ /xml version/)
{
print $Count++- " "- $_;
print OUT $_;
}
else
{
exit
}

I have this above program where the $_ searh for the "xml version". But I wanted it to change and look for <?xml version="1.0" the problem is it gives out an error when searching for <?xml version="1.0". Please help???

$10/year would be ideal
Thanks for the answers.. Looks like i wll get a better deal getting the domain reg and web host separately... point me to any domain reg sites.
i am looking for something like
vinodh.in
vinodhkumar.com
Thanks for the answers.. Looks like i wll get a better deal getting the domain reg and web host separately... point me to any domain reg sites.

I would also want to have a database to load all the songs being discussed. Can anyone suggest a way to create such a database?

P.S: I have no idea about MySQL- Perl etc :(

I want to write a little program and add a blog to my web site. All know is html and css and that s it. For blog at first I thought I have learn php and MySQL and now somebody told me you can make a blog with Ruby on Rail in 15 minute; and the program- Ruby on Rail and asp.net; how diffrent are they in writing a program and which one is easier. I m just confused

I m trying to build a simple web site for my work but the servers aren t set up to use SSI/SHTML. What s the easiest way to include header and footer files?

We don t have any server side languages installed- so Perl and ASP won t work.

I m just wondering if there are any available web api s out there for managing a web based address book? My wife manages her PTA web site but doesn t know PHP- perl- MySQL and I don t have the time to develop something. I figured there must be some web based service out there that has all of the forms- security- and database developed where she can just put in the appropriate URLs (API) and let them handle all of the heavy lifting. Is there anything out there that is reasonably priced? If there is some PHP/Perl repository where I can download and install something that would be fine to as the hosting service she is using provides MySQL- PHP- Perl support.

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

Can someone please break this down for me?

Thanks!

ok - i dont have picture messaging or anything - so i wanted to use my USB cord to transfer pictures from the phone to my computer- but whenever i try is says i cant . HOW DO I DO IT ?!

alright- i know i have asked this question earlier- but i don t think i got the best answer- but i have a vaio laptop and heres the link to the drivers-etc. : http://esupport.sony.com/US/perl/swu-list.pl?mdl=VGNNR120E

but anyways- i have been trying to figure out how to be able to load drivers onto xp setup or whatever because i can t install it reguarly- because if i enter setup- it will say it cannot detect any hard drive. so if you can link me to the correct driver in the abolve link ^^^ and be able to install xp.

tomorow is my exams i want perl ebook that is micro sams teach yourself perl in 21 days can any body tell where can i get this free on net or can any body send this book to me on my id sa_kushi@yahoo.co.in if you hav plz send it...
i will be highly obliged

Sidekick slide
or
Blackberry perl
What fone is better for texing?

Is there a way to run a Perl script on incoming emails to create calendar events? My company uses its own internal calendar system that sends me emails everytime a new event/meeting is scheduled. I d like to be able to create a perl script or VB script that would "Read" the incoming emails- strip out the meeting info (date- time- locations- etc.) and then create a new calendar event. Is this possible?

Is there a command or do you know how to cut a file using PERLor UNIX.

For example I have a file and will search for the certain word. From that word until the bottom of the file all data will be removed and the remaining data will be saved in another file?

I have a html page with a form (radio buttons 1-10 for rating)
and an anchor targeting a directory of images (via perl cgi). which are randomly selected (on a refresh or submittal) and thus shown on the page
I would like to know how the image which is randomly selected can be loaded into the form s name attribute so when the form is submitted the images information along with the rating selected are entered into a database.
Sorry its not an anchor tag but an img tag with source set to a cgi script that picks random images from a directory.

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?

skills required are perl - java - sql - FreeBSD.......test cases etc......Can anybody help in telling me on what lines the interview will be conducted......any suggestions.....Thank you in advance.......

I have access to cgi and perl on my server..however I can not execute any script to work!...They set the directory up to my cgi files to the directory of [cgi] should it not be [cgi-bin]? The cmods are set up correctly..tey also have a directory called fcgi..what is that?..what directory should I store my cgi files in?

I have a form on my page which I am trying to make it search my page and put the results on a results page..how do I do this? I have cgi/perl access on my server..is this all i need in able to do this?..or can I just download a cgi script?..any help would be great..Thank you

I m in first year university for Computer Science- I learned programming in Turing in High school- since then I ve become familiar with C and Java- and I m wondering where to take it now. Should I go and learn Python and Ruby and Perl and get as may languages as I can under my belt? Should I go buy books and start reading? I ve kind of hit a dead end. Ideally I d like to start into networking and learn what there is to learn- but the resources I ve found are either introduction to programming with very simplistic stuff or advanced to the point where I can t even begin to understand what s going. Anyone have any ideas/resource suggestions/particular books or websites that helped them out?

Whats nintendo wfc?

If i click Start --> Run ---> put in c:\control\x10com32.exe a2 off then click OK- the command executes succesfully.

How would I run this command in a cgi/perl script? I ve tried
system ("c:\control\x10com32.exe a2 off"); but nothing happens. Could it be something in a perl configuration that prevents me from launching executables?
I m on apache 2.2 and Activeperl..

I want to download Perl but I do not know which file to download. I downloaded perl-5.10.0.tar.gz archive from their website but how do i install it?

Question 2- is there a perl with an interfeace?

Thank you for your help
Ok I do have windows XP- i went to download perl from active state which is good. But my question is- is there an interface for perl?

Well as everyone knows Dimond and Perl nentendo DS games- I know but what s next? Is it Pokemon shiny version? I wanna know.

I came across a picture- and I wanted to know if anyone knew which anime this was?

http://anidb.net/perl-bin/animedb.pl?show=group&gid=4845

The main picture there.

Thanks!

I m a computer engineer and so far I have intermediate experience with C++. I was wondering what programming languages should I make an effort to learn in the next 5 years and my potential career? I also want to learn a little bit of web development. I was thinking of learning Java next then Python- Perl- HTTP- PHP-XML- Javascript- ASP maybe. Anything else?
HTML I mean- not the HTTP protocol

Hello all
i have this peace of code
open(RULES- rules.txt ) or die $!;
my @rules = <RULES>;
close RULES or die $!;

foreach my $rule(@rules) {
if ($request =~ m/$rule/i) {
open(ERROR-"error.html");
my @error=<ERROR>;
close(ERROR);
foreach $line(@error){
print C $line;
}

it match a text from a file or rules written by regular expressions with a request
but the problem that it s matching only the first line
i mean my rules file content
\.txt
that will match any .txt extension but when i add nother line
like
\.txt
\.php
it matchs only .txt
please i really need help

Hello- I m new to the world of computer programming and i m starting off small by learning the code system "Perl" the problem is- i can t seem to get the Command window to access "C:\". It always opens up either as "C:\Documents and Settings\[username]>" or after circumventing the shortuct and going straight to the .exe in the system32 folder: "C:\WINDOWS\system32\". What is the code that is needed to have it read "C:\"? Thank You.
Thanks for the help Ninjaman- now i have something else to add: When trying to access "C:\perl>perl -c" i get "Access Denied" when I am running as the computer administrator. How do i clear up this problem? Further help greatly appreciated.

ok heres the deal- my mother bought a blackberry perl- and set it up to her yahoomail account.. then gave me the phone- only problem is.. my mother has alot of spam mail on that account- so im getting about 300 messages a day about Viagra- and Weight loss plans.........
ive tried logging onto her Yahoo account to cancel it- but did not see the options- and even tried to delete it through the phone. i know that as smart as the blackberry perl is supposed to be- there has to be a simple way of doing this...
i had a Tmobile MDA- and WIng- and on the both of them- you just go into the mail settings- and turn off or Delete whatever mail provider that you dont want- but i guess thats just too easy for such a great smart phone like the Blackberry!
any advice anybody? PLEASE!!!!!!

Hi I want To know the cost of INTEL 865 PERL-INTEL 865 GLC -INTEL 875 PBF mother board in india-mumbai
and any Suggestions which one is better out of these

thanks

#! /usr/bin/perl

use strict;
use warnings;

@ARGV = ("11214_2008_9368_JobSheet_200.xml");
while (<>) {
if (/Remove colour consent form/) {
print "Find\n $_\n
Do it colour in print\n";
}
if (/do not send colour consent form to author/) {
print "Find\n $_\n
Do it colour in print\n";
}
if (/remove CCF form/) {
print "Find\n $_\n
Do it colour in print\n";
}
if (/Special Issue/) {
print "Find\n $_\n
Do it colour in www\n";
}
}

As an enlightened- modern parent- I try to be as involved as possible in the lives of my six children. I encourage them to join team sports. I attend their teen parties with them to ensure no drinking or alcohol is on the premises. I keep a fatherly eye on the CDs they listen to and the shows they watch- the company they keep and the books they read. You could say I m a model parent. My children have never failed to make me proud- and I can say without the slightest embellishment that I have the finest family in the USA.
Two years ago- my wife Carol and I decided that our children s education would not be complete without some grounding in modern computers. To this end- we bought our children a brand new Compaq to learn with. The kids had a lot of fun using the handful of application programs we d bought- such as Adobe s Photoshop and Microsoft s Word- and my wife and I were pleased that our gift was received so well. Our son Peter was most entranced by the device- and became quite a pro at surfing the net. When Peter began to spend whole days on the machine- I became concerned- but Carol advised me to calm down- and that it was only a passing phase. I was content to bow to her experience as a mother- until our youngest daughter- Cindy- charged into the living room one night to blurt out: "Peter is a computer hacker!"
As you can imagine- I was amazed. A computer hacker in my own house! I began to monitor my son s habits- to make certain that Cindy wasn t just telling stories- as she is prone to doing at times.

After a few days of investigation- and some research into computer hacking- I confronted Peter with the evidence. I m afraid to say- this was the only time I have ever been truly disappointed in one of my children. We raised them to be honest and to have integrity- and Peter betrayed the principles we tried to encourage in him- when he refused point blank to admit to his activities. His denials continued for hours- and in the end- I was left with no choice but to ban him from using the computer until he is old enough to be responsible for his actions.

After going through this ordeal with my own family- I was left pondering how I could best help others in similar situations. I d gained a lot of knowledge over those few days regarding hackers. It s only right that I provide that information to other parents- in the hope that they will be able to tell if their children are being drawn into the world of hacking. Perhaps other parents will be able to steer their sons back onto the straight and narrow before extreme measures need to be employed.

To this end- I have decided to publish the top ten signs that your son is a hacker. I advise any parents to read this list carefully and if their son matches the profile- they should take action. A smart parent will first try to reason with their son- before resorting to groundings- or even spanking. I pride myself that I have never had to spank a child- and I hope this guide will help other parents to put a halt to their son s misbehaviour before a spanking becomes necessary.

1. Has your son asked you to change ISPs?

Most American families use trusted and responsible Internet Service Providers- such as AOL. These providers have a strict "No Hacking" policy- and take careful measures to ensure that your internet experience is enjoyable- educational and above all legal. If your child is becoming a hacker- one of his first steps will be to request a change to a more hacker friendly provider.

I would advise all parents to refuse this request. One of the reasons your son is interested in switching providers is to get away from AOL s child safety filter. This filter is vital to any parent who wants his son to enjoy the internet without the endangering him through exposure to "adult" content. It is best to stick with the protection AOL provides- rather than using a home-based solution. If your son is becoming a hacker- he will be able to circumvent any home-based measures with surprising ease- using information gleaned from various hacker sites.

2. Are you finding programs on your computer that you don t remember installing?

Your son will probably try to install some hacker software. He may attempt to conceal the presence of the software in some way- but you can usually find any new programs by reading through the programs listed under "Install/Remove Programs" in your control panel. Popular hacker software includes "Comet Cursor"- "Bonzi Buddy" and "Flash".

The best option is to confront your son with the evidence- and force him to remove the offending programs. He will probably try to install the software again- but you will be able to tell that this is happening- if your machine offers to "download" one of the hacker applications. If this happens- it is time to give your son a stern talking to- and possibly consider punishing him with a grounding.

3. Has your child asked for new hardware?

Computer hackers are often limited by conventional computer hardware. They may request "faster" video cards- and larger hard drives- or even more memory. If your son starts requesting these devices- it is possible that he has a legitimate need. You can best ensure that you are buying legal- trustworthy hardware by only buying replacement parts from your computer s manufacturer.

If your son has requested a new "processor" from a company called "AMD"- this is genuine cause for alarm. AMD is a third-world based company who make inferior- "knock-off" copies of American processor chips. They use child labor extensively in their third world sweatshops- and they deliberately disable the security features that American processor makers- such as Intel- use to prevent hacking. AMD chips are never sold in stores- and you will most likely be told that you have to order them from internet sites. Do not buy this chip! This is one request that you must refuse your son- if you are to have any hope of raising him well.

4. Does your child read hacking manuals?

If you pay close attention to your son s reading habits- as I do- you will be able to determine a great deal about his opinions and hobbies. Children are at their most impressionable in the teenage years. Any father who has had a seventeen year old daughter attempt to sneak out on a date wearing make up and perfume is well aware of the effect that improper influences can have on inexperienced minds.

There are- unfortunately- many hacking manuals available in bookshops today. A few titles to be on the lookout for are: "Snow Crash" and "Cryptonomicon" by Neal Stephenson; "Neuromancer" by William Gibson; "Programming with Perl" by Timothy O Reilly; "Geeks" by Jon Katz; "The Hacker Crackdown" by Bruce Sterling; "Microserfs" by Douglas Coupland; "Hackers" by Steven Levy; and "The Cathedral and the Bazaar" by Eric S. Raymond.

If you find any of these hacking manuals in your child s possession- confiscate them immediately. You should also petition local booksellers to remove these titles from their shelves. You may meet with some resistance at first- but even booksellers have to bow to community pressure.

5. How much time does your child spend using the computer each day?

If your son spends more than thirty minutes each day on the computer- he may be using it to DOS other peoples sites. DOSing involves gaining access to the "command prompt" on other people s machines- and using it to tie up vital internet services. This can take up to eight hours. If your son is doing this- he is breaking the law- and you should stop him immediately. The safest policy is to limit your children s access to the computer to a maximum of forty-five minutes each day.

6. Does your son use Quake?

Quake is an online virtual reality used by hackers. It is a popular meeting place and training ground- where they discuss hacking and train in the use of various firearms. Many hackers develop anti-social tendencies due to the use of this virtual world- and it may cause erratic behaviour at home and at school.

If your son is using Quake- you should make hime understand that this is not acceptable to you. You should ensure all the firearms in your house are carefully locked away- and have trigger locks installed. You should also bring your concerns to the attention of his school.

7. Is your son becoming argumentative and surly in his social behaviour?

As a child enters the electronic world of hacking- he may become disaffected with the real world. He may lose the ability to control his actions- or judge the rightness or wrongness of a course of behaviour. This will manifest itself soonest in the way he treats others. Those whom he disagrees with will be met with scorn- bitterness- and even foul language. He may utter threats of violence of a real or electronic nature.

Even when confronted- your son will probably find it difficult to talk about this problem to you. He will probably claim that there is no problem- and that you are imagining things. He may tell you that it is you who has the problem- and you should "back off" and "stop smothering him." Do not allow yourself to be deceived. You are the only chance your son has- even if he doesn t understand the situation he is in. Keep trying to get through to him- no matter how much he retreats into himself.

8. Is your son obsessed with "Lunix"?

BSD- Lunix- Debian and Mandrake are all versions of an illegal hacker operation system- invented by a Soviet computer hacker named Linyos Torovoltos- before the Russians lost the Cold War. It is based on a program called "xenix"- which was written by Microsoft for the US government. These programs are used by hackers to break into other people s computer systems to steal credit card numbers. They may also be used to break into people s stereos to steal their music- using the "mp3" program. Torovoltos is a notorious hacker- responsible for writing many hacker programs- such as "telnet"- which is used by hackers to connect to machines on the internet without using a telephone.

Your son may try to install "lunix" on your hard drive. If he is careful- you may not notice its presence- however- lunix is a capricious beast- and if handled incorrectly- your son may damage your computer- and even break it completely by deleting Windows- at which point you will have to have your computer repaired by a professional.

If you see the word "LILO" during your windows startup (just after you turn the machine on)- your son has installed lunix. In order to get rid of it- you will have to send your computer back to the manufacturer- and have them fit a new hard drive. Lunix is extremely dangerous software- and cannot be removed without destroying part of your hard disk surface.

9. Has your son radically changed his appearance?

If your son has undergone a sudden change in his style of dress- you may have a hacker on your hands. Hackers tend to dress in bright- day-glo colors. They may wear baggy pants- bright colored shirts and spiky hair dyed in bright colors to match their clothes. They may take to carrying "glow-sticks" and some wear pacifiers around their necks. (I have no idea why they do this) There are many such hackers in schools today- and your son may have started to associate with them. If you notice that your son s group of friends includes people dressed like this- it is time to think about a severe curfew- to protect him from dangerous influences.

10. Is your son struggling academically?

If your son is failing courses in school- or performing poorly on sports teams- he may be involved in a hacking group- such as the infamous "Otaku" hacker association. Excessive time spent on the computer- communicating with his fellow hackers may cause temporary damage to the eyes and brain- from the electromagnetic radiation. This will cause his marks to slip dramatically- particularly in difficult subjects such as Math- and Chemistry. In extreme cases- over-exposure to computer radiation can cause schizophrenia- meningitis and other psychological diseases. Also- the reduction in exercise may cause him to lose muscle mass- and even to start gaining weight. For the sake of your child s mental and physical health- you must put a stop to his hacking- and limit his computer time drastically.

I encourage all parents to read through this guide carefully. Your child s future may depend upon it. Hacking is an illegal and dangerous activity- that may land your child in prison- and tear your family apart. It cannot be taken too seriously.

I have the DCR-TRV350 NTSC Sony Camcorder and I am brand new at trying to upload videos to the computer to make a DVD. I don t have a FireWire- so I am trying to hook it up to the USB. I downloaded a driver for XP from the Sony website (http://esupport.sony.com/US/perl/swu-download.pl?mdl=DCRTRV350&upd_id=1452&os_id=7&ULA=YES) and ran setup after extracting it. I then restarted my computer like it said but still nothing s happening after I plug in my camcorcer and turn it on to VCR mode.

Any help would be greatly appreciated. Thanks!

A few years ago- my parents bought me a PC- and I got bitten by the learning bug. I started by using a "hooky" version of Frontpage to design my own website- then learnt HTML from experimenting with the HTML tab on Frontpage- then realising HTML doesn t do interactive- taught myself Perl- then finding out PHP did stuff with pictures too- switched to PHP.

Then one day- I got a magazine with a version of Visual Basic on the cover (it was called learning edition then- it s express edition now) and I started to write standalone programs - then I got a version of Delphi the same way- and switched to that- then a version of C++ builder.

In an online programming tutorial- I came across a word in an unfamiliar context- differentiate- and ended up teaching myself calculus. I also figured out in a school lesson that a non-right angled triangle could be split into two right angled triangles and worked out the cosine rule myself.
In a physics lesson- they explained the basics of nuclear reactions- and it struck me that if knocking a neutron out of an atom released energy and reduced the mass of the component parts to less than the mass of the original atom- then there was more going on than we were being told- so I taught myself atomic structure to the standard of electron configuations like 1s²2s²2p³ etc and the internal structure of baryons- then progressed to topics such as slightly more advanced particle physics and parts of quantum theory/mechanics (schrodinger- quantum electrodynamics- quantum chromodynamics etc). Regularly realising my maths was letting me down big time- I d put it on hold to go teach myself something else about maths.
I generally didn t talk about being a swot at home when at school- but that changed recently because it really pissed me off that we were being given watered down information- eg a ¹²C atom consists of 6 Protons and 6 Neutrons with an electron configuration of 2.4 - electrons- protons and neutrons being the smallest you can go. I argued with the teacher that "2.4" was a watered down explanation- and that the nucleons shouldn t be considered as distinct- inseparable entities- but rather as baryons with one of the three quarks being a different flavour. In maths- we were shown that we could estimate the gradient of a curve by drawing a tangent to it- using y=x² as the example. I told the teacher that was a crap way to do it because it was only as accurate as the guessed tangent. Thinking he was being a smartarse he gave me the chalk and announced "Miss O Neill thinks she knows better than me- so she ll take over the lesson now." I got up and differentiated x² from first principles.
Without telling me they were going to do it in advance- they withdrew me from lessons for 2 days- and gave me a set of the exams you take at 16- then the ones you take at 18. I got top grades in Computing- Electronics and Physics- my knowledge of the content of the Chemistry syllabus was lacking in a lot of areas- and in maths I was lacking only with imaginary/complex numbers. They got my parents to come to school for a parent-pupil-teacher conference (which had me thinking I was in trouble) and said that if I had taken the same physics- computing & electronics exams in the Leaving Cert at 18- I d have no trouble getting a top university place. The suggestion was that since you can t take the leaving cert exams without being enrolled on the course for at least 2 years- I take the British equivalent- A levels- as an international student in the November "resits" and apply to university as soon as the application process opens up for next years intake.
My parents really want me to do it- and I really don t want to be spending the next 5 years learning stuff I already know- but as I am now- I enjoy things. On a Saturday- I can go "earring shopping" with my friends- we can take in a film- go bowling etc. If I go to university- at least I ll find the work more challenging- but I ll be the baby. The only one who is too young to go for a drink- the only one who is living with their parents- the only one too young to form a relationship- the only one who can t drive etc. It also means that unless I get into the local Institute of Technology- we will have to move home which will mean my dad will have a huge commute to work every day. It is a sacrifice he is prepared to make- but I m not sure it as one I d be prepared to have him make for my benefit.

I must find "Remove colour consent form" or "do not send colour consent form to author"; or "remove CCF form"
And "Special Issue" and "remove CCF form" sentences in *.xml file.

how to write it correctly with Perl ?!

I m trying to identify lines in a text file that have the word "light" appearing at least twice.

For example- Gen 1:3 has:
And God said- "Let there be light; and there was light.

The PCRE newbie is stumped at how to specify that with the { } syntax. I can get it to work with:
light.+light
but I want to understand how to use {2-}

I ve used boost::regex- and I think the following would have worked:
(light){2-}

but this doesn t seem to work (at least for me) with PCRE.

And actually- what I m trying to accomplish is finding a line with either "light" or "evening" appearing twice ... but not either "light" or "evening" each appearing. An example is 2 Chron 13:11 with "evening" appearing twice.

And why do they make 2 copy s of the same game can anyone tell me the differences of those games?

I need a Perl module that can open and extract data from **passworded zip** archives (which Archive::Zip does not seem to support). Any suggestions?
** EDIT **
I know zip encryption is a joke. Someone else is encrypting it. I only need to decrypt it. Thing is- if I extract it using the `unzip` command from infozip- it will insist to use the filenames from the archive; which is not at all what I want.

And what s this about "I can BUY a Perl module ....." ?! I have never paid for a piece of software in my life- and certainly don t intend to start now!

In perl v5.8.6 built for MSWin32-x86-multi-thread:

my $i = 1;
print $i++- ++$i; # 1 3
my $i = 1;
print ++$i- $i++; # 3 2


in pugs:


my $i = 1;
say $i++- ++$i; # 1 3


my $i = 1;
say ++$i- $i++; # 2 2


which is right? or it s different between Perl5 and Perl6?


thanks.

Well I hear it all the time- "Athletes are NOT celebrities"- but according to the definition of CELEBRITY:

a widely known person; "he was a baseball celebrity"
fame: the state or quality of being widely honored and acclaimed
wordnet.princeton.edu/perl/webwn

That is exactly what they are: A well known person.

Now don t get me wrong I think that athletes are talented- but truthfully- does talent make them any different or put them into a different category than any other well known person?


My opinion is that professional athletes are indeed celebrities. They have their names in papers- they make the money (okay- some of them do)- and they are susceptile to the same kind of scrutiny that other celebrities are.

so- what do you think? Celebrities or not?

Well I hear it all the time- "Athletes are NOT celebrities"- but according to the definition of CELEBRITY:

a widely known person; "he was a baseball celebrity"
fame: the state or quality of being widely honored and acclaimed
wordnet.princeton.edu/perl/webwn

That is exactly what they are: A well known person.

Now don t get me wrong I think that athletes are talented- but truthfully- does talent make them any different or put them into a different category than any other well known person?


My opinion is that professional athletes are indeed celebrities. They have their names in papers- they make the money (okay- some of them do)- and they are susceptile to the same kind of scrutiny that other celebrities are.

so- what do you think? Celebrities or not?
Yes- they are athletes- that much is true. But aren t they celebrities as well? A celebrity can be anyone that is well known- not just an actor or actress and they do not have to be of Hollywood fame either :)

No comments: