a perl question
Smoot Carl-Mitchell
smoot at tic.com
Tue Jan 4 17:36:12 UTC 2011
On Tue, 2011-01-04 at 17:22 +0000, Avi Greenbury wrote:
> S
> This looks an awful lot like a homework (I can't imagine how else you
> would come across such a problem), so here's a quick pointer which
> you'll be able to use if you've covered much in the way of the basics of
> Perl[0]:
>
> if ($_ =~ /[XYZ](.*)[/XYZ]/){
> $importantStuff = $importatStuff.$1;
> }
>
> Remember, Perl is often little more than a glorified regular
> expression engine! :)
It is a bit more than that, but it does have a good RE engine. If you
want specific beginning Perl help try this list: beginners at perl.org.
--
Smoot Carl-Mitchell
System/Network Architect
voice: +1 480 922-7313
cell: +1 602 421-9005
smoot at tic.com
More information about the ubuntu-users
mailing list