-Original Message-
From: jeffqt...@gmail.com [mailto:jeffqt...@gmail.com]
Sent: Friday, January 23, 2009 12:58
To: beginners@perl.org
Subject: Loading results of pattern match into an array - help please
I am trying to split a very long fixed lenght record into its
constituents,
On Fri, 23 Jan 2009 10:08:14 -0800, Bruce Ferrell wrote:
I know this is going to sound odd, but I've installed some modules using
the CPAN module and I now want to uninstall them or put them into a
state where they are no longer detected. Is there a way to do this?
Complex answer. See
Chas. Owens wrote:
[trim]
$string =~ s/^[ ]*(.*)[ ]*$/$1/;
That changes the string when not necessary.
I prefer this:
s/\s+$//, s/^\s+// for $string; # rtrim + ltrim
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail:
Functions and global variables in a Perl 4 style library will belong to the
package from where the library is loaded. Consequently it's possible to do
something like:
# MyLib.pl
#
sub trim {
for ( $_[0] ) {
s/^\s+//;
s/\s+$//;
}
}
# MyFunctions.pm
#
Hi list,
When I compile Devel::Symdump with /usr/perl5/bin/perl (OS supplied perl)
both make and make test return successful result. When I try to compile it
with my own customized perl in /usr/local/pkgs/perl-5.10.0/bin/perl make
works but make test doesn't succeed. I have observed that these
I am sorry for repost...I missed some text in my last email. Please read the
completed text below. Apologies.
On Sun, Jan 25, 2009 at 4:19 AM, paul ryan itspaulr...@gmail.com wrote:
Hi list,
When I compile Devel::Symdump with /usr/perl5/bin/perl (OS supplied perl)
both make and make test
Bruce == Bruce Ferrell bferr...@baywinds.org writes:
Bruce I know this is going to sound odd, but I've installed some modules
Bruce using the CPAN module and I now want to uninstall them or put them into
Bruce a state where they are no longer detected. Is there a way to do this?
The key thing