Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Thinking in perl

by tbone1 (Monsignor)
on Feb 18, 2005 at 14:12 UTC ( #432336=note: print w/replies, xml ) Need Help??


in reply to Thinking in perl

*nods* Happens to me quite a bit. Lately I've been dragged into a conversion project at work, and ProC keeps showing up in my dreams. Okay, nightmares. But yeah, I notice perlisms all the time, or try to convert things to perlisms in my head.

At least it's not as bad as when I worked for a phone company. They use Universal Service Order Codes, or USOCs, as shorthands for everything. For example, to this day, nearly a decade later, I know that NSD means "Caller ID". When you spend your whole day dealing with NSD/NMP/N8D/and so one, you see USOCs all over the place.

What's really bad is that I'm now working for a company in the medical/pharmaceutical market, and I still see USOCs! Except I have to remember that NDC is now "National Drug Code", not "Caller ID". Slight difference.

--
tbone1, YAPS (Yet Another Perl Schlub)
And remember, if he succeeds, so what.
- Chick McGee

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://432336]
help
Chatterbox?
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info
[Lady_Aleena]: Discipulus, I was able to get the sum of the seconds on the command line using awk. Then I ran the result through a perl script and got the result. It came bach with 4 days, 9 hours, 56 minutes, 43 seconds.
[Lady_Aleena]: s/bach/back/;
[Discipulus]: gired anyway is the intermediate state between hired and fired (and vice versa;)
[Lady_Aleena]: Discipuluis, I don't know if I want to fight with File::Find. File::Find and I are not friends.
[Discipulus]: 4 day Bach is too muche even for me
[Discipulus]: LA you know who is paco?
[Lady_Aleena]: Disc, nope.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-04-23 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.