#!/usr/bin/perl #--------------------------------------------------------------- # Saltillo Perl Mongers # Generoso Montemayor # 24/11/2004 # #--------------------------------------------------------------- # use strict; my $str; $str = "1some text1"; $str = substr($str, 1, -1); print ($str,"\n");
Edit by castaway - added code tags
In reply to Re: Pearls (not really) of Perl programming
by Anonymous Monk
in thread Pearls (not really) of Perl programming
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |