Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I only want to print "$(ROOT)/../../../api/maX \\" in the below code,how can I do that?
#!/usr/bin/perl -w use strict; use warnings; my $file; $file = "./max/base/file.c: $(ROOT)/../../../api/maX \\"; $file =~ /:(.*)/; print "$file\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printing just part of data
by GrandFather (Saint) on Mar 24, 2011 at 00:24 UTC | |
|
Re: printing just part of data
by wind (Priest) on Mar 23, 2011 at 23:55 UTC | |
|
Re: printing just part of data
by Anonymous Monk on Mar 24, 2011 at 00:01 UTC |