Re: extracting NAME and DESCRIPTION sections from pod text file

2006-08-13 Thread Ken Foskey
On Sun, 2006-08-13 at 10:48 -0500, Mumia W. wrote: > On 08/13/2006 08:36 AM, Ken Perl wrote: > > what's correct regular expression on extracting only NAME and > > DESCRIPTION section from pod text file? > > I have tried this, but failed! > > > > perl -e '$c=`pod2text /data/WebGUI/lib/WebGUI/User.p

Re: extracting NAME and DESCRIPTION sections from pod text file

2006-08-13 Thread Dr.Ruud
Mumia W. schreef: > Ken: >> what's correct regular expression on extracting only NAME and >> DESCRIPTION section from pod text file? >> I have tried this, but failed! >> >> perl -e '$c=`pod2text /data/WebGUI/lib/WebGUI/User.pm`;$c =~ >> s/(NAME.*)SYNOPSIS/$1/;print $c' > > foreach $_ (`pod2text /u

Re: extracting NAME and DESCRIPTION sections from pod text file

2006-08-13 Thread Mumia W.
On 08/13/2006 08:36 AM, Ken Perl wrote: what's correct regular expression on extracting only NAME and DESCRIPTION section from pod text file? I have tried this, but failed! perl -e '$c=`pod2text /data/WebGUI/lib/WebGUI/User.pm`;$c =~ s/(NAME.*)SYNOPSIS/$1/;print $c' foreach $_ (`pod2text /usr

extracting NAME and DESCRIPTION sections from pod text file

2006-08-13 Thread Ken Perl
what's correct regular expression on extracting only NAME and DESCRIPTION section from pod text file? I have tried this, but failed! perl -e '$c=`pod2text /data/WebGUI/lib/WebGUI/User.pm`;$c =~ s/(NAME.*)SYNOPSIS/$1/;print $c' -- perl -e 'print unpack(u,"62V5N\"FME;G\!Ehttp://learn.perl.org/>