Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: A date calculation

by aquarium (Curate)
on Dec 19, 2007 at 01:45 UTC ( #657773=note: print w/replies, xml ) Need Help??


in reply to A date calculation

or the more traditional approach
sleep 1123200; billdate= strftime( "%y%m", localtime( time ) ) . '01';
just need to figure out how to make the first line of code run faster
the hardest line to type correctly is: stty erase ^H

Replies are listed 'Best First'.
Re^2: A date calculation
by pfaut (Priest) on Dec 19, 2007 at 02:16 UTC
      i never knew...now i know....scary
      the hardest line to type correctly is: stty erase ^H

        That's ok. It was a good answer.

        90% of every Perl application is already written.
        dragonchild

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://657773]
help
Chatterbox?
[Discipulus]: get them all printed on screen
Discipulus ;=)
[shmem]: silly question, silly answer:
[Discipulus]: i know, i know..
[shmem]: man perlfunc |perl -nle '$ok++ if /Alphabetical Listing of Perl Functions/;if($ok ){$s{$1}++if /^ (\w+)/}}{for(keys %s){$f="prototype \\\&CORE::$_"; eval"$f"||delete $CORE::{$_}}print for sort keys%CORE::'
[shmem]: well, there are some builtins which don't have a prototype...
[Discipulus]: eh eh.. i was looking in toke.c but dunno if is already used
[shmem]: oh the whitespace in the regex got condensed, meh
[shmem]: should be /^ {7}(\w+)/ or such
[shmem]: ...at least for my perldoc on Linux debian 8

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-05-23 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?