Re: while trying to learn pack

2008-07-26 Thread John W. Krahn
Richard Lee wrote: Just one more question on the topic, I am trying to understand how it works in binary world. So, If let's say I take a pcap file. I am assuming here that ethereal/wireshark will take binaries on the wire and then decoding it based on pcap standard(? hex? ) and then present t

Re: while trying to learn pack

2008-07-26 Thread Richard Lee
John W. Krahn wrote: Richard Lee wrote: I am begining to read bit of low level(assembly) book to just gain some knoweldge on inner workings of memory. My quesiton is, if machine is 32 bit, even if it's accessing string 'A', it will have to fetch 32 bit (instead of 8 bit that requires to make

Re: while trying to learn pack

2008-07-26 Thread Richard Lee
John W. Krahn wrote: Richard Lee wrote: I am begining to read bit of low level(assembly) book to just gain some knoweldge on inner workings of memory. My quesiton is, if machine is 32 bit, even if it's accessing string 'A', it will have to fetch 32 bit (instead of 8 bit that requires to make

getting process id under NT

2008-07-26 Thread epanda
Hi, I would like to know if it is possible to get win32 process ID under Windows NT without using Win32::OLE because this one does not work under NT. Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: List with qw and without

2008-07-26 Thread Rob Dixon
William wrote: > package MyConfig; > use constant (DOCUMENT_ROOT => "/var/www/"); > require Exporter; > our @ISA = qw(Exporter); > our @EXPORT_OK = qw(DOCUMENT_ROOT); # This works > #our @EXPORT_OK = (DOCUMENT_ROOT); # But this does not work > > 1; > > use MyConfig qw(DOCUMENT_ROOT); > print DOCU

List with qw and without

2008-07-26 Thread William
package MyConfig; use constant (DOCUMENT_ROOT => "/var/www/"); require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(DOCUMENT_ROOT); # This works #our @EXPORT_OK = (DOCUMENT_ROOT); # But this does not work 1; use MyConfig qw(DOCUMENT_ROOT); print DOCUMENT_ROOT; # If I do not use qw , I