Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by snafu (Chaplain)
on Mar 13, 2002 at 14:05 UTC ( [id://151379]=note: print w/replies, xml ) Need Help??


in reply to 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.

I can't find the nodes that I read where it is suggested to not use those functions. I promise I read those suggestions, though, which is the only reason why I didn't use those functions.

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.

I see your point as far as my "solution" (heh, gotta quote it since you are right) is concerned. I need to go back to the drawing board.

I asked for comments, I got comments. I feel like I gotta flogging, though. :)

_ _ _ _ _ _ _ _ _ _
- Jim
Insert clever comment here...

Replies are listed 'Best First'.
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

    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://151379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-28 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found