Search the web
Sign In
New User? Sign Up
Perl_Official · Perl . CGI . Shell script
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
I found an answer to BackReference, your input?   Message List  
Reply | Forward Message #2039 of 2062 |
#!/usr/bin/perl
use strict ;
my @Name;
my $Name;

my $X = 1;
my $Y = 2;
my $Data=":2-Lou-14:4-Bobby:3-Tine13:1-jack 23:";
my $Info = ($Data =~ /:$Y-(.*?):/);
$Name[$X,$Y] = $1;
print ">$Name[$X,$Y] is at X$X,Y$Y<\n";

[Non-text portions of this message have been removed]




Fri Aug 31, 2007 5:16 am

luinrandir
Offline Offline
Send Email Send Email

Forward
Message #2039 of 2062 |
Expand Messages Author Sort by Date

#!/usr/bin/perl use strict ; my @Name; my $Name; my $X = 1; my $Y = 2; my $Data=":2-Lou-14:4-Bobby:3-Tine13:1-jack 23:"; my $Info = ($Data =~ /:$Y-(.*?):/); ...
Lou Hernsen
luinrandir
Offline Send Email
Aug 31, 2007
5:00 pm

hi, I am trying to find particular words in text files(i.e. *.txt files) Should i use regular expressions in doing? Thanks in advance Avinash ... Get the...
avinash k
avik1612
Offline Send Email
Sep 7, 2007
12:03 am

Hello Avinash, yes u can easily find the word and its line through regx. here i have just given a simple example to your reference. im also preparing the perl...
K. Senthil Kumar
senmal2003
Offline Send Email
Sep 9, 2007
2:53 am

Avinash, Here's one solution. Darren ==== #!/bin/perl/bin ### ### title: pgrep ### author: darren miller ### ### perl alternative to UNIX grep command, ###...
millerdw2003
Offline Send Email
Sep 9, 2007
3:03 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help