Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
A simple question but somehow it seems to be confusing the heck out of me!

I tried your code BrowserUK on UNIX and things did not come out well so I switched to Windows XP PRO.

Here is what I did

(Note: I changed your 'file' to 'junk')

1. I created a file with some content

2. After a few minutes i added some more content

3. I ran the timestamp program

I see funny results. No matter the file, i get the same result

. Can you throw some light?

C:\>echo hi > junk C:\>dir junk 7/31/2005 10:25 PM 5 junk 1 File(s) 5 bytes 0 Dir(s) 15,975,989,248 bytes free C:\>echo hi2 >> junk C:\>dir junk 07/31/2005 10:28 PM 11 junk 1 File(s) 11 bytes 0 Dir(s) 15,975,989,248 bytes free C:\>perl timestamp 1 : 16 : 00 : 00

I am on activstate

C:\>perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail)

When I run the program on UNIX i get  31 : 18 : 00 : 00 as output

Any thoughts?



In reply to Re^2: time difference by sk
in thread time difference by swaroop

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-10-05 18:50 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (24 votes). Check out past polls.