Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

KPeter0314

by KPeter0314 (Deacon)
on May 21, 2002 at 17:09 UTC ( #168204=user: print w/replies, xml ) Need Help??

  • Unix since '91
  • Perl since '00

Working in South Dakota and living in Iowa (Nebraska is just the other side of the river and a decent place to go for lunch). I've been doing the Unix SysAdmin gig for over 10 years with HPUX and Solaris (and a few others) experience.

Geek Code:

-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/IT/MU d+ s+: a C+++$ ULHSC++++$ P++(--)$ L++$ E--- W+>++ w !O M->+ PS+(-) Y+ PGP++ t+(*) 5++ X-- R++>* tv@ b+>+++ DI+++ D+ G e++(*) h---- r+++ y++++ ------END GEEK CODE BLOCK------
Perl Geek Code:

-----BEGIN PERL GEEK CODE BLOCK----- Version: 0.01 P++c---P6-R++M >++O MA E PU BD C D+S+++$X-WP++>+++MO!PP!n-CO--PO-o-G A--OLC+OLCC---OLJ--Ee---Ev+Eon!uL+>+++$ uB+$uS+++$uH++uo+w-->!m! ------END PERL GEEK CODE BLOCK------
decode it

Log In?
Username:
Password:

What's my password?
Create A New User
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.