SPUG:Confused field parser seeks...
Brian Hatch
spug at ifokr.org
Sun May 25 10:47:31 CDT 2003
> Thanks that worked great. Here's my get_newuid:
If you only need a subset of the fields, you may
want to consider an array slice:
> ($f1,$f2,$f3,$f4,$f5,$f6,$f7)=split /:/, $lastline;
($field1, $field3, $field4) = ( split /:/, $lastline )[0,2,3];
--
Brian Hatch "Zathras never happy. Zathras
Systems and happy once, had friend once,
Security Engineer but wheels fell off, very sad...."
http://www.ifokr.org/bri/
Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/spug-list/attachments/20030525/8d5d51fe/attachment.bin
More information about the spug-list
mailing list