Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Re: Re: Parse out the extension of a filename - return base of filename.

by Juerd (Abbot)
on Mar 13, 2002 at 14:50 UTC ( [id://151392]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Parse out the extension of a filename - return base of filename.
in thread Parse out the extension of a filename - return base of filename.

Im not sure what data you are talking about that prints to the screen. I don't get any such data, just the return from the function if I print it.

Here's a part of your original post, before you updated it and removed the print statements:

print "\n-----------\n"; print "There are ". scalar @pieces . " elements in \@pieces from ". "filename: $file\n"; my $c = 0; for ( @pieces ) { print "element ", ++$c, ": $_\n"; } print "-----------\n";
In case your memory has failed you.

U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://151392]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found