Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have the following data as shown below,I want to remove the "#digit" at the end.Can I use chop function to remove it or is there another built-in perl module?pls advise
INPUT:- //depot/programfiles/scripts/files/data/src/script_iface4_hdlr.c#4 //depot/programfiles/scripts/files/data/src/script_pkt_mgr.c#7 //depot/programfiles/scripts/files/data/src/script_pkt_mgr.h#3 OUTPUT:- //depot/programfiles/scripts/files/data/src/script_iface4_hdlr.c //depot/programfiles/scripts/files/data/src/script_pkt_mgr.c //depot/programfiles/scripts/files/data/src/script_pkt_mgr.h
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do remove trailing data?
by ahmad (Hermit) on Dec 24, 2010 at 01:42 UTC | |
|
Re: How do remove trailing data?
by TomDLux (Vicar) on Dec 24, 2010 at 03:56 UTC | |
by JavaFan (Canon) on Dec 24, 2010 at 14:23 UTC | |
by ww (Archbishop) on Dec 24, 2010 at 13:53 UTC | |
|
Re: How do remove trailing data?
by Anonymous Monk on Dec 24, 2010 at 01:48 UTC | |
by Anonymous Monk on Dec 24, 2010 at 03:12 UTC | |
by samarzone (Pilgrim) on Dec 24, 2010 at 07:32 UTC |