in reply to Re: Deleting from front of string
in thread Deleting from front of string

Ah, but what if you had some "evil" string such as:
$_ = '10.) just another perl hacker';

-Blake

Replies are listed 'Best First'.
Re^3: Deleting from front of string
by Aristotle (Chancellor) on Oct 05, 2001 at 04:03 UTC
    How about
    my $i; print join '', grep $i++>1, split //, '#!just another perl hacker';
Re: Re: Re: Deleting from front of string
by tachyon (Chancellor) on Oct 05, 2001 at 08:25 UTC
    $_ = '10.) just another perl hacker'; $_ = reverse,chop,chop,print scalar reverse;

    Perl a problem for every solution solution for every problem

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print