text_combined: ken schneider gyaccrka9bouttymenet greg freemyer pecked keyboard wrote os 103 kde network printer hp 4500 color laser printer somehow stalled everything print goes queue never pops printer know printer problem xp vm machine print fine tell os start printing thanks greg cupsenable printer_name use name printer youre sure name use lpstat show name status ken schneider suse since version 52 june 1998 nyxnnpzmqrweqdogmailcom sat apr 26 154926 2008 messageid 71c73b070802250132r5e447e2dte4debc04a550cc2cmailgmailcom date mon 25 feb 2008 150242 0530 anirban adhikary soiofdvxgperlorg subject hash sorting problem cc john w krahn mimeversion 10 contenttype multipartalternative boundary_part_11808_191588111203931962242 _part_11808_191588111203931962242 contenttype textplain charsetiso88591 contenttransferencoding 7bit contentdisposition inline dear list need delete element every execution foreach loop need update sorted arr1 every execution foreach loop tried lot able pls help thanks regards anirban adhikary mon feb 25 2008 151 pm john w krahn wrote anirban adhikary wrote dear list hello written following code use datadumper file 14 ggg 11 aaa 101 eee 1 ttt print dumper file arr1 sort fileb cmp filea keys file oldest entry lies top position print dumper arr1 foreach elarr1 delete fileel print el removed sorted listn arr1 sort fileb cmp filea keys file oldest entry lies perldoc perlsyn snip part list array foreach get confused add remove elements within loop body example splice dont top position print sorting array elements print dumper arr1 output var1 1 ttt 11 aaa 101 eee 14 ggg var1 1 14 101 11 1 removed sorted list sorting array elements var1 14 101 11 101 removed sorted list sorting array elements var1 14 11 last output think list sorted properly solve problem sorted properly modifying array arr1 inside foreach loop iterates array shouldnt john perl isnt toolbox small machine shop specialorder certain sorts tools low cost short order larry wall unsubscribe email piqgklqwxcmtsrlfpiqgperlorg additional commands email ccorkgnfllqzvperlorg httplearnperlorg _part_11808_191588111203931962242 oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98907ezm kejhtdbhqaekyintergatecom sat apr 26 154926 2008 date mon 25 feb 2008 052403 0500 mk subject hash sorting problem soiofdvxgperlorg messageid 1203935043l2732l0lakashiraffeeenthusiasm mimeversion 10 contenttype textplain charsetusascii delspyes formatflowed contenttransferencoding quotedprintable 02252008 043242 anirban adhikary wrote dear list need delete element every execution foreach loop need update sorted arr1 every execution foreach loop tried lot able pls help mean said big reason 20 work use elements array expect redefining 20 array continually mean something loop makes sense carefully peruse code think really want 20 form nested loop somecount 3d 0 somereason 3d 10 somecount 10 foreach e array delete fileel somereason redefine array 20 also understand push shift unshift pop 20 either miss point possible relating arrays 20 hashes oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98908ezm ahlgrwhsvgmailcom sat apr 26 154926 2008 messageid 58ce48dc0802250449l7d70033crb4d9a00f6cf91b5cmailgmailcom date mon 25 feb 2008 074948 0500 chas owens anirban adhikary subject hash sorting problem cc soiofdvxgperlorg john w krahn mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit mon feb 25 2008 432 anirban adhikary wrote dear list need delete element every execution foreach loop need update sorted arr1 every execution foreach loop tried lot able pls help thanks regards anirban adhikary snip need careful language deleting element foreach loop would look like bar sort fooa cmp foob foo baz bar delete fookey bar sort fooa cmp foob foo believe asking delete key foreach loop bar sort fooa cmp foob foo baz bar delete foobaz bar sort fooa cmp foob foo breaks foreach loop also makes sense sort order hasnt changed deleted item perform expensive sort dont need bar sort fooa cmp foob foo baz bar delete foobaz chas owens wonkdennet important skill programmer ability read oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98912ezm guswgejabqmdataonein sat apr 26 154926 2008 date mon 25 feb 2008 224907 0500 guswgejabqmdataonein subject removing envquery_string soiofdvxgperlorg messageid mimeversion 10 contenttype textplain charsetwindows1252 contenttransferencoding quotedprintable hello list2c trying build webpage enter hostname text box hitting key searches multiple 2ecsv files prints webpage itself2e facing problem 24envquery5f string7d take 9394 textbox entered spaces beginning end2e tried remove starting end spaces s5e5cs s5cs24 2enothing works here2e thing wrong here3f one help removing 9394 printed value3f beca use 9394 variable search work2e help appreciated2e thanks oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98913ezm fnasfjhawkinsidau sat apr 26 154926 2008 messageid 47c301106000208hawkinsidau date mon 25 feb 2008 175528 0000 justin hawkins mimeversion 10 guswgejabqmdataonein cc soiofdvxgperlorg subject removing envquery_string contenttype textplain charsetwindows1252 formatflowed contenttransferencoding 8bit guswgejabqmdataonein wrote hello list trying build webpage enter hostname text box hitting key searches multiple csv files prints webpage facing problem envquery_string take textbox entered spaces beginning end tried remove starting end spaces ss ss nothing works thing wrong one help removing printed value variable search work many people already dealt problems parsing cgi environment variables need reinvent wheel check cgi module examples documentation get started quickly perldoc cgi justin justin hawkins fnasfjhawkinsidau httphawkinsidaujustin oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98914ezm guswgejabqmdataonein sat apr 26 154926 2008 date mon 25 feb 2008 234649 0530 manoj subject removing envquery_string justin hawkins cc soiofdvxgperlorg messageid 002d01c877da9717e2c07b01a8c0corpmphasiscom mimeversion 10 contenttype textplain charsetusascii contenttransferencoding 7bit thanks justin never worked cgiits new module medigging itthanks original message justin hawkins mailtofnasfjhawkinsidau sent monday february 25 2008 1125 pm guswgejabqmdataonein cc soiofdvxgperlorg subject removing envquery_string guswgejabqmdataonein wrote hello list trying build webpage enter hostname text box hitting key searches multiple csv files prints webpage facing problem envquery_string take textbox entered spaces beginning end tried remove starting end spaces ss ss nothing works thing wrong one help removing printed value variable search work many people already dealt problems parsing cgi environment variables need reinvent wheel check cgi module examples documentation get started quickly perldoc cgi justin justin hawkins fnasfjhawkinsidau httphawkinsidaujustin oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98915ezm lcvbdkstonehengecom sat apr 26 154926 2008 soiofdvxgperlorg subject removing envquery_string lcvbdkstonehengecom randal l schwartz date mon 25 feb 2008 133355 0800 messageid 86wsosen5ofsfbluestonehengecom mimeversion 10 contenttype textplain charsetusascii manoj manoj writes manoj never worked cgiits new module medigging itthanks manoj beginnerscgi better list web things beginners everything nonweb randal l schwartz stonehenge consulting services inc 1 503 777 0095 perlunixsecurity consulting technical writing comedy etc etc see perltrainingstonehengecom onsite openenrollment perl training oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98916ezm fkqcceczlfgmailcom sat apr 26 154926 2008 messageid date tue 26 feb 2008 103516 0800 pandax perl beginners subject possible override print mimeversion 10 contenttype multipartalternative boundary_part_5954_252548861203993316428 _part_5954_252548861203993316428 contenttype textplain charsetiso88591 contenttransferencoding 7bit contentdisposition inline package overrideprint use strict 1 main program print goodbye world got gbk goodbye world mode big5 print hello world got big5 hello world dont want write another sub like print case mesg directly override print behavior real story structure complex default print english user request argv print big5 chinese browser detection translate gbk _part_5954_252548861203993316428 oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98917ezm fkqcceczlfgmailcom sat apr 26 154926 2008 messageid date tue 26 feb 2008 104306 0800 pandax perl beginners subject possible override print mimeversion 10 contenttype multipartalternative boundary_part_5969_221514081203993786050 _part_5969_221514081203993786050 contenttype textplain charsetiso88591 contenttransferencoding 7bit contentdisposition inline sorry email unfinished reason need dont want pollute existed codes context original print statements would like retain still translations adding use overrideprint common module existed scripts using package overrideprint use strict 1 main program use overrideprint print goodbye world got gbk goodbye world mode big5 print hello world got big5 hello world dont want write another sub like print case mesg directly override print behavior real story structure complex default print english user request argv print big5 chinese browser detection translate gbk _part_5969_221514081203993786050 oakdmckhbpiiiojjkdjm contenttype messagerfc822 contentdisposition inline filenamebeginners_98919ezm ahlgrwhsvgmailcom sat apr 26 154926 2008 messageid 58ce48dc0802252032s23d17923q687c65993da7d630mailgmailcom date mon 25 feb 2008 233248 0500 chas owens pandax subject possible override print cc perl beginners mimeversion 10 contenttype textplain charsetiso88591 contenttransferencoding 7bit mon feb 25 2008 943 pm pandax wrote sorry email unfinished reason need dont want pollute existed codes context original print statements would like retain still translations adding use overrideprint common module existed scripts using snip find whether core function overridden calling prototype function functions name prepended core returns prototype override returns undef unfortunately print overriden likely indirect object syntax file handle wonkiness however another way source filters use filtersimple replace every call print call my_print please note isnt quite simple though need correctly handle lines like print message print log message print stderr oopsn converting something like my_printargs message my_printfile log args message my_printfile stderr args oopsn simple cases httpperldocperlorgfunctionsprototypehtml httpsearchcpanorgdistfiltersimplelibfiltersimplepm chas owens wonkdennet important skill programmer ability read wed 06 aug 2008 022332 0500 opensuse hopefully simple printing question